diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-11 22:04:43 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-11 22:04:43 -0400 |
commit | eb862b1fe13968a0e2b1e75682c59af540c8b9bd (patch) | |
tree | f35eb927acd5b35f9475a7c7ee56fb98f8eba49e /test/test_api.py | |
parent | 5288a2e51bc938dfcce206bb8ecffa9ac0c96871 (diff) | |
download | python-coveragepy-git-eb862b1fe13968a0e2b1e75682c59af540c8b9bd.tar.gz |
Oops: two tests with the same name means one of them doesn't get run! Thanks, pylint.
Diffstat (limited to 'test/test_api.py')
-rw-r--r-- | test/test_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_api.py b/test/test_api.py index f4c48f4d..ce349329 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 |