Kaydet (Commit) 6803855e authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix test failure under Windows

üst c2faa5b3
......@@ -795,7 +795,7 @@ class ImportTracebackTests(unittest.TestCase):
tb = tb.tb_next
self.assertEqual(len(deduped_files), len(files), deduped_files)
for fn, pat in zip(deduped_files, files):
self.assertRegex(fn, pat)
self.assertIn(pat, fn)
def test_nonexistent_module(self):
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