File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 11
11
from jsonschema import Draft4Validator , __version__ , cli
12
12
from jsonschema .exceptions import SchemaError , ValidationError
13
13
from jsonschema .tests ._helpers import captured_output
14
- from jsonschema .validators import _LATEST_VERSION , validate
14
+ from jsonschema .validators import validate
15
15
16
16
17
17
def fake_validator (* errors ):
@@ -717,15 +717,6 @@ def test_find_validator_in_jsonschema(self):
717
717
)
718
718
self .assertIs (arguments ["validator" ], Draft4Validator )
719
719
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
-
729
720
def test_unknown_output (self ):
730
721
# Avoid the help message on stdout
731
722
with captured_output () as (stdout , stderr ):
You can’t perform that action at this time.
0 commit comments