diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-21 08:00:48 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-21 08:00:48 -0400 |
commit | 93e6ce4bd1a7070c3e88b8340314f3aaab0017c1 (patch) | |
tree | 3c4dfd9fa29cb4114f57cb60d26ade0a6d372c47 /test/test_oddball.py | |
parent | 0790e2ff909fd4d0c4c19fc0d657fdaec82c4a94 (diff) | |
download | python-coveragepy-93e6ce4bd1a7070c3e88b8340314f3aaab0017c1.tar.gz |
Give this helper function a better name, it's confused me too many times.
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. |