summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-06 15:43:15 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-06 15:43:15 +0300
commitf241ee5c04b6c20cedd27090b9c7312831598d3a (patch)
treed53b114f4b87693dcf5d61fd4ee89fa712770cbc
parent5044214bc1fb135e6defe7710e1d974d87201d81 (diff)
downloadjsonschema-f241ee5c04b6c20cedd27090b9c7312831598d3a.tar.gz
Fix the skip for <3.9 leading zero ipv4 tests.
-rw-r--r--jsonschema/tests/test_jsonschema_test_suite.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/jsonschema/tests/test_jsonschema_test_suite.py b/jsonschema/tests/test_jsonschema_test_suite.py
index 7f59fd3..c8726c8 100644
--- a/jsonschema/tests/test_jsonschema_test_suite.py
+++ b/jsonschema/tests/test_jsonschema_test_suite.py
@@ -91,9 +91,7 @@ if sys.version_info < (3, 9): # pragma: no cover
allowed_leading_zeros = skip(
message=message,
subject="ipv4",
- description=(
- "leading zeroes are rejected, as they are treated as octals"
- ),
+ description="invalid leading zeroes, as they are treated as octals",
)
else:
def allowed_leading_zeros(test): # pragma: no cover