diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-17 16:27:49 +0000 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-17 16:27:49 +0000 |
commit | 5b3638f1c72ea75c48b549fa81031a5114f81c50 (patch) | |
tree | 400f42a35e4a478d33ead2c2a3b9373e10b6fc71 | |
parent | 3243add2eee93ee3c23afa1f04bc15d72dab479e (diff) | |
download | python-coveragepy-5b3638f1c72ea75c48b549fa81031a5114f81c50.tar.gz |
Run test in a 2.6-compatible way
-rw-r--r-- | tests/test_process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 62b6dc8..1a11c14 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -735,7 +735,7 @@ class ProcessTest(CoverageTest): print(globs['b']) """) self.set_environ("LANG", "C") - out = self.run_command("python -m coverage run weird_file.py") + out = self.run_command("coverage run weird_file.py") self.assertEqual(out, "1\n2\n") def test_deprecation_warnings(self): |