From e5c4c1f988c155440eb4591e6060166388a40ea9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 11 May 2009 22:04:43 -0400 Subject: Oops: two tests with the same name means one of them doesn't get run! Thanks, pylint. --- test/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_api.py') diff --git a/test/test_api.py b/test/test_api.py index f4c48f4..ce34932 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -218,7 +218,7 @@ class ApiTest(CoverageTest): """) self.assert_equal_sets(os.listdir("."), ["datatest2.py"]) - cov = coverage.coverage(datafile="cov.data") + cov = coverage.coverage(data_file="cov.data") cov.start() self.importModule("datatest2") cov.stop() @@ -226,7 +226,7 @@ class ApiTest(CoverageTest): self.assert_equal_sets(os.listdir("."), ["datatest2.py", "datatest2.pyc", "cov.data"]) - def testDatafileSpecified(self): + def testDatafileAndSuffixSpecified(self): # You can specify the data file name and suffix. self.makeFile("datatest3.py", """\ fooey = 17 -- cgit v1.2.1