diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-08-17 15:13:08 +0300 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2022-08-17 15:13:08 +0300 |
commit | 0c4aaafe05e7765f7a0b018ebcb0c761747ef9a8 (patch) | |
tree | 8979996a2b80a1144b2249d788a7f3790fa7e928 | |
parent | a94115be0ebc178400f0e45b74d234ca0053e60b (diff) | |
parent | af8abbb870562f38fa8f760f0462645277dc0e89 (diff) | |
download | jsonschema-0c4aaafe05e7765f7a0b018ebcb0c761747ef9a8.tar.gz |
Merge commit 'af8abbb870562f38fa8f760f0462645277dc0e89'
* commit 'af8abbb870562f38fa8f760f0462645277dc0e89':
Squashed 'json/' changes from 14d05dcea..4cfead7ba
-rwxr-xr-x | json/bin/jsonschema_suite | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/json/bin/jsonschema_suite b/json/bin/jsonschema_suite index 85642b1..8cc2850 100755 --- a/json/bin/jsonschema_suite +++ b/json/bin/jsonschema_suite @@ -77,7 +77,11 @@ def url_for_path(path): Tests in the refRemote.json file reference this URL, and assume the corresponding contents are available at the URL. """ - return urljoin(REMOTES_BASE_URL, str(path.relative_to(REMOTES_DIR))) + + return urljoin( + REMOTES_BASE_URL, + str(path.relative_to(REMOTES_DIR)).replace("\\", "/") # Windows... + ) class SanityTests(unittest.TestCase): |