summaryrefslogtreecommitdiff
path: root/tests/test_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_data.py')
-rw-r--r--tests/test_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_data.py b/tests/test_data.py
index ea6b0df0..ec3a6786 100644
--- a/tests/test_data.py
+++ b/tests/test_data.py
@@ -397,11 +397,11 @@ class CoverageDataTest(DataTestHelpers, CoverageTest):
covdata1 = CoverageData()
covdata1.add_arcs(ARCS_3)
stringio = StringIO()
- covdata1.write(stringio)
+ covdata1.write_fileobj(stringio)
stringio.seek(0)
covdata2 = CoverageData()
- covdata2.read(stringio)
+ covdata2.read_fileobj(stringio)
self.assert_arcs3_data(covdata2)