summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-17 15:13:08 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-17 15:13:08 +0300
commit0c4aaafe05e7765f7a0b018ebcb0c761747ef9a8 (patch)
tree8979996a2b80a1144b2249d788a7f3790fa7e928 /json
parenta94115be0ebc178400f0e45b74d234ca0053e60b (diff)
parentaf8abbb870562f38fa8f760f0462645277dc0e89 (diff)
downloadjsonschema-0c4aaafe05e7765f7a0b018ebcb0c761747ef9a8.tar.gz
Merge commit 'af8abbb870562f38fa8f760f0462645277dc0e89'
* commit 'af8abbb870562f38fa8f760f0462645277dc0e89': Squashed 'json/' changes from 14d05dcea..4cfead7ba
Diffstat (limited to 'json')
-rwxr-xr-xjson/bin/jsonschema_suite6
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):