Skip to content

Commit

Permalink
Test without Loader=yaml.SafeLoader
Browse files Browse the repository at this point in the history
This was the only test that called the front end API
  • Loading branch information
ingydotnet committed Sep 22, 2021
1 parent 2d23da8 commit 083203f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/test_schema.py
Expand Up @@ -60,13 +60,13 @@ def test_implicit_resolver(data_filename, skip_filename, verbose=False):
'bool': [bool, check_bool],
}
with open(skip_filename, 'rb') as file:
skipdata = yaml.load(file, Loader=yaml.SafeLoader)
skipdata = yaml.load(file)
skip_load = skipdata['load']
skip_dump = skipdata['dump']
if verbose:
print(skip_load)
with open(data_filename, 'rb') as file:
tests = yaml.load(file, Loader=yaml.SafeLoader)
tests = yaml.load(file)

i = 0
fail = 0
Expand Down

0 comments on commit 083203f

Please sign in to comment.