Skip to content

Commit 263c2a8

Browse files
Double escaping of backslash for paths in tests
1 parent 8f03290 commit 263c2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,5 +280,5 @@ def test_sudoku(self):
280280

281281
def example_path(path):
282282
import os.path
283-
return os.path.normpath(os.path.join(os.path.split(os.path.abspath(__file__))[0], "..", "examples", path))
283+
return os.path.normpath(os.path.join(os.path.split(os.path.abspath(__file__))[0], "..", "examples", path)).replace("\\", "\\\\")
284284

0 commit comments

Comments
 (0)