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 | 57132e79988248b7a28b274a2b63ce4afd3fdc3a (patch) | |
tree | 24dd90f9705690febd97e7776fc6bea1ee946bc2 /test/test_oddball.py | |
parent | 9f323147ddf875ce158bd3f1792b69c4004b7caa (diff) | |
download | python-coveragepy-git-57132e79988248b7a28b274a2b63ce4afd3fdc3a.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 33b4be9d..f5d21aa9 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. |