Commit 6803855e authored by Antoine Pitrou's avatar Antoine Pitrou

Fix test failure under Windows

parent c2faa5b3
...@@ -795,7 +795,7 @@ class ImportTracebackTests(unittest.TestCase): ...@@ -795,7 +795,7 @@ class ImportTracebackTests(unittest.TestCase):
tb = tb.tb_next tb = tb.tb_next
self.assertEqual(len(deduped_files), len(files), deduped_files) self.assertEqual(len(deduped_files), len(files), deduped_files)
for fn, pat in zip(deduped_files, files): for fn, pat in zip(deduped_files, files):
self.assertRegex(fn, pat) self.assertIn(pat, fn)
def test_nonexistent_module(self): def test_nonexistent_module(self):
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment