Change seperator for additonnal images directory otherwise bug on windows

This commit is contained in:
Julien Duponchelle
2016-09-27 17:15:59 +02:00
parent 2c73d40551
commit 20772a310b
5 changed files with 9 additions and 9 deletions

View File

@ -23,8 +23,7 @@ def test_force_unix_path():
assert force_unix_path("a/b") == "a/b"
assert force_unix_path("a\\b") == "a/b"
assert force_unix_path("a\\b\\..\\c") == "a/c"
if sys.platform.startswith("win"):
assert force_unix_path("C:\Temp") == "C:/Temp"
assert force_unix_path("C:\Temp") == "C:/Temp"
def test_macaddress_to_int():