summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-24 14:29:30 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-24 14:29:30 +0100
commit998a7c53667941fb77520d30a58a9b263edafa9d (patch)
tree2d7bffdac84f7f1d4735e5973150abb42250eced
parent8130dbf8b875f2bbbffcd85a50d25824aa73e086 (diff)
downloadjsonschema-998a7c53667941fb77520d30a58a9b263edafa9d.tar.gz
Skip more new leap second tests.
-rw-r--r--jsonschema/tests/test_jsonschema_test_suite.py29
1 files changed, 27 insertions, 2 deletions
diff --git a/jsonschema/tests/test_jsonschema_test_suite.py b/jsonschema/tests/test_jsonschema_test_suite.py
index fda273d..9fe412c 100644
--- a/jsonschema/tests/test_jsonschema_test_suite.py
+++ b/jsonschema/tests/test_jsonschema_test_suite.py
@@ -125,14 +125,39 @@ else:
def leap_second(test):
+ message = "Leap seconds are unsupported."
return skip(
- message="Leap seconds are unsupported.",
+ message=message,
subject="time",
description="a valid time string with leap second",
)(test) or skip(
- message="Leap seconds are unsupported.",
+ message=message,
+ subject="time",
+ description="a valid time string with leap second, Zulu",
+ )(test) or skip(
+ message=message,
subject="time",
description="a valid time string with leap second with offset",
+ )(test) or skip(
+ message=message,
+ subject="time",
+ description="valid leap second, positive time-offset",
+ )(test) or skip(
+ message=message,
+ subject="time",
+ description="valid leap second, negative time-offset",
+ )(test) or skip(
+ message=message,
+ subject="time",
+ description="valid leap second, large positive time-offset",
+ )(test) or skip(
+ message=message,
+ subject="time",
+ description="valid leap second, large negative time-offset",
+ )(test) or skip(
+ message=message,
+ subject="time",
+ description="valid leap second, zero time-offset",
)(test)