summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-03-03 12:10:08 -0500
committerJulian Berman <Julian@GrayVines.com>2021-03-03 12:10:08 -0500
commit7c6f988e881d01d41f4e75f9dd22fb5f6e832c77 (patch)
treed06c9ecec1f86ed0ce3aa99325f077510a79dfe7
parent788bba05e7b556209c53efc036670f35161be8c4 (diff)
downloadjsonschema-7c6f988e881d01d41f4e75f9dd22fb5f6e832c77.tar.gz
Minor style fixes.
-rw-r--r--jsonschema/tests/fuzz_validate.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/jsonschema/tests/fuzz_validate.py b/jsonschema/tests/fuzz_validate.py
index 6b8abea..a8c62ac 100644
--- a/jsonschema/tests/fuzz_validate.py
+++ b/jsonschema/tests/fuzz_validate.py
@@ -19,7 +19,8 @@ PRIM = strategies.one_of(
DICT = strategies.recursive(
base=strategies.one_of(
strategies.booleans(),
- strategies.dictionaries(strategies.text(), PRIM)),
+ strategies.dictionaries(strategies.text(), PRIM),
+ ),
extend=lambda inner: strategies.dictionaries(strategies.text(), inner),
)
@@ -35,9 +36,11 @@ def test_schemas(obj1, obj2):
def main():
- atheris.Setup(sys.argv,
- test_schemas.hypothesis.fuzz_one_input,
- enable_python_coverage=True)
+ atheris.Setup(
+ sys.argv,
+ test_schemas.hypothesis.fuzz_one_input,
+ enable_python_coverage=True,
+ )
atheris.Fuzz()