diff options
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 86c69cf5..54e50014 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -518,7 +518,7 @@ def test_coverage_stop_in_threads(): def run_thread(): # pragma: nested """Check that coverage is stopping properly in threads.""" deadline = time.time() + 5 - ident = threading.currentThread().ident + ident = threading.current_thread().ident if sys.gettrace() is not None: has_started_coverage.append(ident) while sys.gettrace() is not None: |