We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ed908 commit 8111d82Copy full SHA for 8111d82
Lib/test/test_import/__init__.py
@@ -377,7 +377,7 @@ def test_from_import_missing_attr_has_name_and_so_path(self):
377
self.assertEqual(cm.exception.path, _testcapi.__spec__.origin)
378
self.assertRegex(
379
str(cm.exception),
380
- r"cannot import name 'i_dont_exist' from '_testcapi' \(.*\.(so|pyd)?\)"
+ r"cannot import name 'i_dont_exist' from '_testcapi' \(.*(\.(so|pyd))?\)"
381
)
382
else:
383
self.assertEqual(
0 commit comments