diff options
Diffstat (limited to 'json')
-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): |