Skip to content

Commit 5153970

Browse files
committed
BUG:TST: Handle Windows forward/back-slash mess in submodule test.
1 parent 0bdd5b3 commit 5153970

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_submodule.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
def test_submodule_paths_gh_pages():
1111
"""Test that we can pick up the gh-pages submodule."""
1212
results = get_submodule_paths()
13-
assert set(results) == {os.path.join(ROOT_DIR, "docs", "_build", "html")}
13+
assert {os.path.normpath(name) for name in results} == {
14+
os.path.normpath(os.path.join(ROOT_DIR, "docs", "_build", "html"))
15+
}
1416

1517

1618
def test_submodule_paths_no_repo():

0 commit comments

Comments
 (0)