summaryrefslogtreecommitdiff
path: root/jsonschema/tests/test_exceptions.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-04 10:29:44 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-04 10:29:44 +0100
commite908b8055596329f0b4ba1bc0dc1c793b437299f (patch)
treecb2bb0a41b6b8b8b26715e17bcdc944a676e29a1 /jsonschema/tests/test_exceptions.py
parent39697cda809169cf7031839bb0174b5d8136029e (diff)
downloadjsonschema-draft2020-12.tar.gz
Fix missing trailing commas.draft2020-12
Add flake8-commas to ensure this stays the case.
Diffstat (limited to 'jsonschema/tests/test_exceptions.py')
-rw-r--r--jsonschema/tests/test_exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/tests/test_exceptions.py b/jsonschema/tests/test_exceptions.py
index a285550..788d316 100644
--- a/jsonschema/tests/test_exceptions.py
+++ b/jsonschema/tests/test_exceptions.py
@@ -41,7 +41,7 @@ class TestBestMatch(TestCase):
"minProperties": 2,
"anyOf": [{"type": "string"}, {"type": "number"}],
"oneOf": [{"type": "string"}, {"type": "number"}],
- }
+ },
)
best = self.best_match(validator.iter_errors({}))
self.assertEqual(best.validator, "minProperties")