diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-04-12 22:08:14 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-04-12 22:36:03 -0400 |
commit | a241799a5a5ffafaa93d6dd9b9cd8762e02525c6 (patch) | |
tree | d71db6cee0ba58b53be2b9e334fae20e0d3a8fc1 | |
parent | c4d94f3e7346f7f19dd4ae50e694e392849bb4a1 (diff) | |
download | jsonschema-a241799a5a5ffafaa93d6dd9b9cd8762e02525c6.tar.gz |
Fix IDs of remotes in the test suite on Windows.
bb98b030046d7772679c28da806a01da6df02c96 in
json-schema-org/JSON-Schema-Test-Suite seems to have accidentally
changed the output here on Windows.
Possibly I should fix that upstream, but for now...
-rw-r--r-- | jsonschema/tests/_suite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/tests/_suite.py b/jsonschema/tests/_suite.py index cba4f87..2687396 100644 --- a/jsonschema/tests/_suite.py +++ b/jsonschema/tests/_suite.py @@ -50,7 +50,7 @@ class Suite(object): [sys.executable, str(jsonschema_suite), "remotes"], ) return { - "http://localhost:1234/" + name: schema + "http://localhost:1234/" + name.replace("\\", "/"): schema for name, schema in json.loads(remotes.decode("utf-8")).items() } |