From aa84ff5b92fd148314cb6119bcc63db53a656b93 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 25 Dec 2015 07:34:09 -0500 Subject: Change if-0 skips to real skips in the tests --- tests/test_api.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'tests/test_api.py') 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.""" -- cgit v1.2.1