diff options
Diffstat (limited to 'tests/test_concurrency.py')
| -rw-r--r-- | tests/test_concurrency.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 3c338980..5fe91b98 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)  | 
