Replace the returned separator under Windows.

This commit is contained in:
funilrys
2020-07-13 11:29:11 +02:00
parent c756858a1b
commit b8b067b6ab

View File

@@ -64,7 +64,7 @@ class Base(unittest.TestCase):
@property
def sep(self):
if platform.system().lower() == "windows":
return "\\"
return "/"
return os.sep
def assert_called_once(self, mock_method):