diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-12-25 07:34:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-12-25 07:34:09 -0500 |
commit | aa84ff5b92fd148314cb6119bcc63db53a656b93 (patch) | |
tree | dfbdcbff77d90d012062247cf5968493ec2dd426 /tests/test_api.py | |
parent | 5d767b89fc87b836f2cf93c4eb34252ee3bf1804 (diff) | |
download | python-coveragepy-aa84ff5b92fd148314cb6119bcc63db53a656b93.tar.gz |
Change if-0 skips to real skips in the tests
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index a7cadab..3ea5b3e 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -278,18 +278,17 @@ class ApiTest(CoverageTest): self.start_import_stop(cov, "code2") self.check_code1_code2(cov) - if 0: # expected failure - # for https://bitbucket.org/ned/coveragepy/issue/79 - def test_start_save_stop(self): - self.make_code1_code2() - cov = coverage.Coverage() - cov.start() - self.import_local_file("code1") - cov.save() - self.import_local_file("code2") - cov.stop() - - self.check_code1_code2(cov) + def test_start_save_stop(self): + self.skip("Expected failure: https://bitbucket.org/ned/coveragepy/issue/79") + self.make_code1_code2() + cov = coverage.Coverage() + cov.start() + self.import_local_file("code1") + cov.save() + self.import_local_file("code2") + cov.stop() + + self.check_code1_code2(cov) def make_corrupt_data_files(self): """Make some good and some bad data files.""" |