diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-10-06 17:32:17 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-10-06 17:32:17 -0400 |
commit | fe390493cf99e179f73d4c0547c7e4503b099cb2 (patch) | |
tree | 5e9d64c681d4abb571ea7259093467f9683b6200 /tests/test_context.py | |
parent | eec5c5cdb669e632c556131c48df1055142072d8 (diff) | |
download | python-coveragepy-git-fe390493cf99e179f73d4c0547c7e4503b099cb2.tar.gz |
Diagnose an appveyor problem
Diffstat (limited to 'tests/test_context.py')
-rw-r--r-- | tests/test_context.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_context.py b/tests/test_context.py index b237af06..ee5441ee 100644 --- a/tests/test_context.py +++ b/tests/test_context.py @@ -152,6 +152,8 @@ class DynamicContextTest(CoverageTest): data = cov.get_data() fname = os.path.abspath("two_tests.py") + print(fname) + print(data.measured_files()) self.assertCountEqual(data.measured_contexts(), ["", "test_one", "test_two"]) self.assertCountEqual(data.lines(fname, ""), self.OUTER_LINES) self.assertCountEqual(data.lines(fname, "test_one"), self.TEST_ONE_LINES) @@ -165,6 +167,8 @@ class DynamicContextTest(CoverageTest): data = cov.get_data() fname = os.path.abspath("two_tests.py") + print(fname) + print(data.measured_files()) self.assertCountEqual(data.measured_contexts(), ["stat", "stat:test_one", "stat:test_two"]) self.assertCountEqual(data.lines(fname, "stat"), self.OUTER_LINES) self.assertCountEqual(data.lines(fname, "stat:test_one"), self.TEST_ONE_LINES) |