mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Replace the returned separator under Windows.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user