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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_data.py b/tests/test_data.py
index 2c01ea44..7a02adcb 100644
--- a/tests/test_data.py
+++ b/tests/test_data.py
@@ -344,7 +344,7 @@ class CoverageDataTestInTempDir(DataTestHelpers, CoverageTest):
def test_read_errors(self):
covdata = CoverageData()
- msg = r"Couldn't read data from '{}': \S+"
+ msg = r"Couldn't read data from '{0}': \S+"
self.make_file("xyzzy.dat", "xyzzy")
with self.assertRaisesRegex(CoverageException, msg.format("xyzzy.dat")):
covdata.read_file("xyzzy.dat")