diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 13:02:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-05-01 13:30:39 -0400 |
commit | 9df434550a499c16e9fd26cfb9627837bfdc02a5 (patch) | |
tree | 5619ea3c3bec05d04363a66ced9c7ebffcefb1df /tests/test_concurrency.py | |
parent | 3fe17c1f2244c07cf9d0f9e3609392c2ad441db1 (diff) | |
download | python-coveragepy-git-9df434550a499c16e9fd26cfb9627837bfdc02a5.tar.gz |
refactor: remove code explicitly choosing between py2 and py3
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 54e50014..fa482f91 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -146,13 +146,7 @@ PRINT_SUM_RANGE = """ """ # Import the things to use threads. -if env.PY2: - THREAD = """ - import threading - import Queue as queue - """ -else: - THREAD = """ +THREAD = """ import threading import queue """ |