Fix test failure under Windows

This commit is contained in:
Antoine Pitrou 2012-07-08 13:16:15 +02:00
parent c2faa5b381
commit 6803855ecf
1 changed files with 1 additions and 1 deletions

View File

@ -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: