Skip to content

Commit c728147

Browse files
committed
Tweak remote URIs when running the upstream test suite.
The full remote URI is now properly emitted upstream. Ref: json-schema-org/JSON-Schema-Test-Suite#585.
1 parent a65806d commit c728147

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jsonschema/tests/_suite.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ def _remotes(self):
4545
remotes = subprocess.check_output(
4646
[sys.executable, str(jsonschema_suite), "remotes"],
4747
)
48-
return {
49-
"http://localhost:1234/" + name.replace("\\", "/"): schema
50-
for name, schema in json.loads(remotes.decode("utf-8")).items()
51-
}
48+
return json.loads(remotes.decode("utf-8"))
5249

5350
def benchmark(self, runner): # pragma: no cover
5451
for name, Validator in _VALIDATORS.items():

0 commit comments

Comments
 (0)