summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-10-20 08:11:50 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-10-20 08:11:50 -0400
commit50959ccaaa07ccfb5a01cb38eb5d2b548e0dfe9a (patch)
tree1cf88b1dae6d2bf9d6daf1d5d35bce45a50ab3ee
parent8c3cddefe07e25d96d9e9c4d7ea24b345d88eeec (diff)
downloadpython-coveragepy-git-50959ccaaa07ccfb5a01cb38eb5d2b548e0dfe9a.tar.gz
Not going to use print functions, but at least make them all look the same.
--HG-- branch : 4.0
-rw-r--r--tests/test_process.py8
-rw-r--r--tests/test_summary.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 1ab56e8f..ddbbafd6 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -35,7 +35,7 @@ class ProcessTest(CoverageTest):
import covmod1
import covmodzip1
a = 1
- print ('done')
+ print('done')
""")
self.assert_doesnt_exist(".coverage")
@@ -52,7 +52,7 @@ class ProcessTest(CoverageTest):
else:
c = 1
d = 1
- print ('done')
+ print('done')
""")
out = self.run_command("coverage -x -p b_or_c.py b")
@@ -88,7 +88,7 @@ class ProcessTest(CoverageTest):
else:
c = 1
d = 1
- print ('done')
+ print('done')
""")
out = self.run_command("coverage -x -p b_or_c.py b")
@@ -128,7 +128,7 @@ class ProcessTest(CoverageTest):
else:
c = 1
d = 1
- print ('done')
+ print('done')
""")
self.make_file(".coveragerc", """\
diff --git a/tests/test_summary.py b/tests/test_summary.py
index 8035513e..29167bf8 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -16,7 +16,7 @@ class SummaryTest(CoverageTest):
import covmod1
import covmodzip1
a = 1
- print ('done')
+ print('done')
""")
# Parent class saves and restores sys.path, we can just modify it.
sys.path.append(self.nice_file(os.path.dirname(__file__), 'modules'))