diff options
-rw-r--r-- | tests/test_oddball.py | 2 | ||||
-rw-r--r-- | tests/test_plugins.py | 2 | ||||
-rw-r--r-- | tests/test_testing.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py index 933551ac..2ca1aa75 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -176,7 +176,7 @@ class MemoryLeakTest(CoverageTest): # Running the code 10k times shouldn't grow the ram much more than # running it 10 times. ram_growth = (ram_10k - ram_10) - (ram_10 - ram_0) - if ram_growth > 100000: + if ram_growth > 100000: # pragma: only failure fails += 1 if fails > 8: # pragma: only failure diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 686dcf99..a4c4a0a9 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -150,7 +150,7 @@ class PluginTest(CoverageTest): cov = coverage.Coverage() cov.set_option("run:plugins", ["my_plugin"]) cov.start() - cov.stop() + cov.stop() # pragma: nested with open("evidence.out") as f: self.assertEqual(f.read(), "we are here!") diff --git a/tests/test_testing.py b/tests/test_testing.py index 0cb6a860..54ab894d 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -72,7 +72,7 @@ class EnvironmentAwareMixinTest(EnvironmentAwareMixin, TestCase): # The before state. # Not sure what environment variables are available in all of our # different testing environments, so try a bunch. - for envvar in ["HOME", "HOMEDIR", "USER", "SYSTEMDRIVE", "TEMP"]: + for envvar in ["HOME", "HOMEDIR", "USER", "SYSTEMDRIVE", "TEMP"]: # pragma: part covered if envvar in os.environ: original_text = os.environ[envvar] new_text = "Some Strange Text" |