Skip to content

Commit 9604504

Browse files
authored
Update Lib/test/test_doctest/test_doctest.py
1 parent f80983c commit 9604504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_doctest/test_doctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2870,7 +2870,7 @@ def get_data(self, path):
28702870
return f.read()
28712871

28722872
def exec_module(self, module):
2873-
raise AssertionError("should never run")
2873+
raise ImportError
28742874

28752875
def create_module(self, spec):
28762876
return None

0 commit comments

Comments
 (0)