summaryrefslogtreecommitdiff
path: root/test/test_xml.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-21 22:00:22 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-21 22:00:22 -0500
commitebe72820b0a20bbba08e7e0b0fb02d47fa96f24b (patch)
tree9f2113b0483274f7f27458bb6ca452802901fdd6 /test/test_xml.py
parent43cc4830ccc2ef54cd12e0fcc13561ffea025bb1 (diff)
downloadpython-coveragepy-git-ebe72820b0a20bbba08e7e0b0fb02d47fa96f24b.tar.gz
Lint
Diffstat (limited to 'test/test_xml.py')
-rw-r--r--test/test_xml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_xml.py b/test/test_xml.py
index 6542dcac..dda03e09 100644
--- a/test/test_xml.py
+++ b/test/test_xml.py
@@ -40,7 +40,7 @@ class XmlReportTest(CoverageTest):
def test_no_source(self):
# Written while investigating a bug, might as well keep it.
# https://bitbucket.org/ned/coveragepy/issue/208
- self.make_file("innocuous.py", "a = 1")
+ self.make_file("innocuous.py", "a = 4")
cov = coverage.coverage()
cov.start()
self.import_local_file("innocuous")
@@ -76,7 +76,7 @@ class XmlReportTest(CoverageTest):
def test_filename_format_including_module(self):
cov = self.run_doit()
- import sub.doit
+ import sub.doit # pylint: disable=F0401
cov.xml_report([sub.doit], outfile="-")
xml = self.stdout()
doit_line = re_line(xml, "class.*doit")