summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_data.py8
-rw-r--r--test/test_process.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/test_data.py b/test/test_data.py
index 4f784253..83a5b8ae 100644
--- a/test/test_data.py
+++ b/test/test_data.py
@@ -55,13 +55,13 @@ class DataTest(CoverageTest):
self.assert_summary(covdata2, SUMMARY_1)
def test_combining(self):
- covdata1 = CoverageData(suffix='1')
+ covdata1 = CoverageData()
covdata1.add_line_data(DATA_1)
- covdata1.write()
+ covdata1.write(suffix='1')
- covdata2 = CoverageData(suffix='2')
+ covdata2 = CoverageData()
covdata2.add_line_data(DATA_2)
- covdata2.write()
+ covdata2.write(suffix='2')
covdata3 = CoverageData()
covdata3.combine_parallel_data()
diff --git a/test/test_process.py b/test/test_process.py
index 501075df..1f8a9884 100644
--- a/test/test_process.py
+++ b/test/test_process.py
@@ -227,7 +227,7 @@ class ProcessTest(CoverageTest):
self.assertEqual(out, 'Child!\n')
self.assertFalse(os.path.exists(".coverage"))
- # After running the forking program, there should be two
+ # After running the forking program, there should be two
# .coverage.machine.123 files.
self.assertEqual(self.number_of_data_files(), 2)