From a2c2e4365a9f1dde956319d5bc75bff6eef7ddfd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 26 Jul 2015 22:51:26 -0400 Subject: Windows fixes due to data changes --- tests/test_concurrency.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_concurrency.py') diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 3c33898..5fe91b9 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -9,6 +9,7 @@ import threading import coverage from coverage import env +from coverage.files import abs_file from tests.coveragetest import CoverageTest @@ -151,7 +152,7 @@ class ConcurrencyTest(CoverageTest): data.read_file(".coverage") # If the test fails, it's helpful to see this info: - fname = os.path.abspath("try_it.py") + fname = abs_file("try_it.py") linenos = data.lines(fname) print("{0}: {1}".format(len(linenos), linenos)) print_simple_annotation(code, linenos) -- cgit v1.2.1