From: funilrys Date: Mon, 13 Jul 2020 09:29:11 +0000 (+0200) Subject: Replace the returned separator under Windows. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b8b067b6abadfe92a0335099e87aa5ff0d53baf0;p=stevenblack-hosts.git Replace the returned separator under Windows. --- diff --git a/testUpdateHostsFile.py b/testUpdateHostsFile.py index 1fb72993b..17c6edcb6 100644 --- a/testUpdateHostsFile.py +++ b/testUpdateHostsFile.py @@ -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):