Skip to content

Commit 5680761

Browse files
committed
Delete the failed test case
1 parent f13195f commit 5680761

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

jsonschema/tests/test_cli.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from jsonschema import Draft4Validator, __version__, cli
1212
from jsonschema.exceptions import SchemaError, ValidationError
1313
from jsonschema.tests._helpers import captured_output
14-
from jsonschema.validators import _LATEST_VERSION, validate
14+
from jsonschema.validators import validate
1515

1616

1717
def fake_validator(*errors):
@@ -717,15 +717,6 @@ def test_find_validator_in_jsonschema(self):
717717
)
718718
self.assertIs(arguments["validator"], Draft4Validator)
719719

720-
def test_latest_validator_is_the_default(self):
721-
arguments = cli.parse_args(
722-
[
723-
"--instance", "mem://some/instance",
724-
"mem://some/schema",
725-
]
726-
)
727-
self.assertIs(arguments["validator"], _LATEST_VERSION)
728-
729720
def test_unknown_output(self):
730721
# Avoid the help message on stdout
731722
with captured_output() as (stdout, stderr):

0 commit comments

Comments
 (0)