Skip to content

Commit af8abbb

Browse files
committed
Squashed 'json/' changes from 14d05dcea..4cfead7ba
4cfead7ba Fix #585 on Windows. git-subtree-dir: json git-subtree-split: 4cfead7ba7b1af840eaf95f19a088c89ed67b5a9
1 parent 5d6a993 commit af8abbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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)