Skip to content

Commit 0c4aaaf

Browse files
committed
Merge commit 'af8abbb870562f38fa8f760f0462645277dc0e89'
* commit 'af8abbb870562f38fa8f760f0462645277dc0e89': Squashed 'json/' changes from 14d05dcea..4cfead7ba
2 parents a94115b + af8abbb commit 0c4aaaf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

json/bin/jsonschema_suite

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ def url_for_path(path):
7777
Tests in the refRemote.json file reference this URL, and assume the
7878
corresponding contents are available at the URL.
7979
"""
80-
return urljoin(REMOTES_BASE_URL, str(path.relative_to(REMOTES_DIR)))
80+
81+
return urljoin(
82+
REMOTES_BASE_URL,
83+
str(path.relative_to(REMOTES_DIR)).replace("\\", "/") # Windows...
84+
)
8185

8286

8387
class SanityTests(unittest.TestCase):

0 commit comments

Comments
 (0)