diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-30 10:51:30 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-30 10:51:30 -0400 |
commit | 68a4d571547b409722e416e9254d8b9fb89f84a5 (patch) | |
tree | 6bb777dd00c267be66b9d2a84fa8cd951c994bcb /coverage/collector.py | |
parent | 2f49934d1b525d0c99185b94ff58a699259a321c (diff) | |
download | python-coveragepy-git-68a4d571547b409722e416e9254d8b9fb89f84a5.tar.gz |
Greenlet is always availble, remove conditionalization.
Diffstat (limited to 'coverage/collector.py')
-rw-r--r-- | coverage/collector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/collector.py b/coverage/collector.py index ea4d20ec..42a97f1a 100644 --- a/coverage/collector.py +++ b/coverage/collector.py @@ -91,7 +91,7 @@ class Collector(object): try: if concurrency == "greenlet": - import greenlet # pylint: disable=import-error,useless-suppression + import greenlet self.concur_id_func = greenlet.getcurrent elif concurrency == "eventlet": import eventlet.greenthread # pylint: disable=import-error,useless-suppression |