diff options
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r-- | test/test_oddball.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_oddball.py b/test/test_oddball.py index 33b4be9..f5d21aa 100644 --- a/test/test_oddball.py +++ b/test/test_oddball.py @@ -129,7 +129,7 @@ class PyexpatTest(CoverageTest): # Import the python file, executing it. cov.start() - self.import_module("outer") + self.import_local_file("outer") cov.stop() _, statements, missing, _ = cov.analysis("trydom.py") @@ -192,7 +192,7 @@ class ExceptionTest(CoverageTest): # Import all the modules before starting coverage, so the def lines # won't be in all the results. for mod in "oops fly catch doit".split(): - self.import_module(mod) + self.import_local_file(mod) # Each run nests the functions differently to get different # combinations of catching exceptions and letting them fly. |