diff options
Diffstat (limited to 'Lib/test/test_pkgutil.py')
| -rw-r--r-- | Lib/test/test_pkgutil.py | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_pkgutil.py b/Lib/test/test_pkgutil.py index e0c8635de..57ebf1f 100644 --- a/Lib/test/test_pkgutil.py +++ b/Lib/test/test_pkgutil.py @@ -104,6 +104,9 @@ class PkgutilTests(unittest.TestCase):  class PkgutilPEP302Tests(unittest.TestCase):      class MyTestLoader(object): +        def create_module(self, spec): +            return None +          def exec_module(self, mod):              # Count how many times the module is reloaded              mod.__dict__['loads'] = mod.__dict__.get('loads', 0) + 1  | 
