Skip to content

Commit 6ab7362

Browse files
committed
add noqa:F401
1 parent 852da8c commit 6ab7362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2632,7 +2632,7 @@ def test_repr(self):
26322632

26332633
def test_ModuleNotFoundError_repr_with_failed_import(self):
26342634
try:
2635-
import does_not_exist # type: ignore[import]
2635+
import does_not_exist # type: ignore[import] # noqa: F401
26362636
except ModuleNotFoundError as e:
26372637
self.assertEqual(e.name, "does_not_exist")
26382638
self.assertIsNone(e.path)

0 commit comments

Comments
 (0)