diff options
author | Conrad Ho <devnull@localhost> | 2015-04-14 04:14:40 +0800 |
---|---|---|
committer | Conrad Ho <devnull@localhost> | 2015-04-14 04:14:40 +0800 |
commit | e0cd06457455dc460d40be3de8c07e868a12f40b (patch) | |
tree | 61a85551d3ccea1d7772298f2cd745844f4a05a1 | |
parent | 61a07dc55be8b5c4028ebafe2e603335349358e2 (diff) | |
download | python-coveragepy-e0cd06457455dc460d40be3de8c07e868a12f40b.tar.gz |
Ticket299: made it 2.6 compatible. checked 26, 27, 34
-rw-r--r-- | tests/test_html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_html.py b/tests/test_html.py index d9a6470..1aaf71a 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -360,7 +360,7 @@ class HtmlTest(HtmlTestHelpers, CoverageTest): with open("htmlcov/index.html") as f: index = f.read() time_stamp = datetime.datetime.now().strftime('%Y-%m-%d %H:%M') - self.assertIn("<p>Created on {}</p>".format(time_stamp), index) + self.assertIn("<p>Created on {time_stamp}</p>".format(time_stamp=time_stamp), index) class HtmlStaticFileTest(CoverageTest): |