diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-01 18:20:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-01 18:20:32 -0400 |
commit | ada27a855934588cf753f8712bd72d41eadb1058 (patch) | |
tree | 5666295cdd896f9e3810a5467a4e9fac8b76ae0a /tests/test_xml.py | |
parent | 6ac3ca707457c62c16470c805fc5fa4e38fd59eb (diff) | |
download | python-coveragepy-git-ada27a855934588cf753f8712bd72d41eadb1058.tar.gz |
No need for format indexes (mostly)
Diffstat (limited to 'tests/test_xml.py')
-rw-r--r-- | tests/test_xml.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_xml.py b/tests/test_xml.py index 09ab2f85..658a6ab6 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -51,13 +51,13 @@ class XmlTestHelpers(CoverageTest): return os.path.join(curdir, p) for i in range(width): - next_dir = here("d{0}".format(i)) + next_dir = here("d{}".format(i)) self.make_tree(width, depth-1, next_dir) if curdir != ".": self.make_file(here("__init__.py"), "") for i in range(width): - filename = here("f{0}.py".format(i)) - self.make_file(filename, "# {0}\n".format(filename)) + filename = here("f{}.py".format(i)) + self.make_file(filename, "# {}\n".format(filename)) def assert_source(self, xmldom, src): """Assert that the XML has a <source> element with `src`.""" |