diff --git a/tests/lib/test_schema.py b/tests/lib/test_schema.py index f3370ec1..45e9e143 100644 --- a/tests/lib/test_schema.py +++ b/tests/lib/test_schema.py @@ -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