Skip to content
Merged
6 changes: 6 additions & 0 deletions Lib/test/test_doctest/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2869,6 +2869,12 @@ def get_data(self, path):
with open(path, mode='rb') as f:
return f.read()

def exec_module(self, module):
raise ImportError

def create_module(self, spec):
return None

class TestHook:

def __init__(self, pathdir):
Expand Down
Loading