diff options
Diffstat (limited to 'Lib/test/test_unittest.py')
-rw-r--r-- | Lib/test/test_unittest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_unittest.py b/Lib/test/test_unittest.py index ecf31628e8..4d66dc6726 100644 --- a/Lib/test/test_unittest.py +++ b/Lib/test/test_unittest.py @@ -3537,7 +3537,9 @@ class TestDiscovery(TestCase): # We should have loaded tests from the test_directory package by calling load_tests # and directly from the test_directory2 package - self.assertEqual(suite, ['load_tests', '/foo/test_directory2 module tests']) + self.assertEqual(suite, + ['load_tests', + os.path.join('/foo', 'test_directory2') + ' module tests']) self.assertEqual(Module.paths, [os.path.join('/foo', 'test_directory'), os.path.join('/foo', 'test_directory2')]) |