From 571202633c3ad99ab2b201dd302a5e516729b9e3 Mon Sep 17 00:00:00 2001 From: Alison Winters <alisonatwork@gmail.com> Date: Wed, 25 Nov 2015 22:54:15 +0100 Subject: [PATCH] fix all_tests directory separator for windows --- tests/all_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/all_tests.py b/tests/all_tests.py index 01bc36e88..de388878e 100755 --- a/tests/all_tests.py +++ b/tests/all_tests.py @@ -54,7 +54,7 @@ class AllTests(unittest.TestCase): def _get_module_strings(self): modules = [] for file_string in self.test_file_strings: - modules.append(file_string[len(tests_dir):len(file_string) - 3].replace('/', '.')) + modules.append(file_string[len(tests_dir):len(file_string) - 3].replace(os.sep, '.')) return modules -- GitLab