summaryrefslogtreecommitdiff
path: root/tests
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
commit120d89c2732bf43ab284f02c63a50ef89d9e4fd0 (patch)
tree9b99b00633a067ed4ba1b6cd900072ef70d40cd3 /tests
parentb94d42b78127beb210a8d9aee0746608412f305f (diff)
downloadpython-coveragepy-120d89c2732bf43ab284f02c63a50ef89d9e4fd0.tar.gz
Not going to use print functions, but at least make them all look the same.
Diffstat (limited to 'tests')
-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 1ab56e8..ddbbafd 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 8035513..29167bf 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'))