summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-20 10:13:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-20 10:13:24 -0400
commit99105a1d5ae8186d3e19e21becf6c763ca190abf (patch)
treea7af2f5cb3336508400d057e049702f13083beed /tests
parent2f6fa6505fc81dd9068032ac65b2422b131d5151 (diff)
downloadpython-coveragepy-git-99105a1d5ae8186d3e19e21becf6c763ca190abf.tar.gz
2.6....
Diffstat (limited to 'tests')
-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")