Fix test failure under Windows
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 35a4baf..1091158 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -795,7 +795,7 @@
             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: