From b5d55bd78b613b8386e18c0c4e03782277666325 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 1 Dec 2012 15:29:25 -0500 Subject: Switch to our own prama syntax, so the tests can use the std without getting mixed up. --- test/coveragetest.py | 4 ++-- test/test_farm.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/coveragetest.py b/test/coveragetest.py index 39ec4f56..7f4ef42c 100644 --- a/test/coveragetest.py +++ b/test/coveragetest.py @@ -222,10 +222,10 @@ class CoverageTest(TestCase): """ cov.start() - try: # pragma: recursive coverage + try: # pragma: not covered # Import the python file, executing it. mod = self.import_local_file(modname) - finally: # pragma: recursive coverage + finally: # pragma: not covered # Stop Coverage. cov.stop() return mod diff --git a/test/test_farm.py b/test/test_farm.py index f06158e4..0903a769 100644 --- a/test/test_farm.py +++ b/test/test_farm.py @@ -86,7 +86,7 @@ class FarmTestCase(object): for m in [m for m in sys.modules if m not in old_mods]: del sys.modules[m] - def run_fully(self): # pragma: no cover + def run_fully(self): # pragma: not covered """Run as a full test case, with setUp and tearDown.""" self.setUp() try: @@ -316,7 +316,7 @@ class FarmTestCase(object): break -def main(): # pragma: no cover +def main(): # pragma: not covered """Command-line access to test_farm. Commands: -- cgit v1.2.1