summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-17 16:27:49 +0000
committerNed Batchelder <ned@nedbatchelder.com>2016-11-17 16:27:49 +0000
commit001a1fe48ddcb61779b4174d1dcca0b8c4f706e0 (patch)
tree3cbfaeb1e758b3c00d258857334e91e94b05f3bb /tests/test_process.py
parent929297eef803362c3b6156751e81b2d84e5ff4c4 (diff)
downloadpython-coveragepy-git-001a1fe48ddcb61779b4174d1dcca0b8c4f706e0.tar.gz
Run test in a 2.6-compatible way
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 62b6dc83..1a11c144 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):