summaryrefslogtreecommitdiff
path: root/tests/stdlib
diff options
context:
space:
mode:
authorJakub Stasiak <jakub@stasiak.at>2014-10-05 21:25:46 +0100
committerJakub Stasiak <jakub@stasiak.at>2014-10-10 08:53:11 +0100
commit75a1ab8cafb2bd3aa9ab96503b54fbddb068f58d (patch)
tree703c1c3837ae70d0f7ce3790d6dcf94edc339026 /tests/stdlib
parent5f5c137676044f0b3d9459a6d487ec80eac14b26 (diff)
downloadeventlet-75a1ab8cafb2bd3aa9ab96503b54fbddb068f58d.tar.gz
Remove most of the deprecated code
Closes GH #144
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/test_thread__boundedsem.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stdlib/test_thread__boundedsem.py b/tests/stdlib/test_thread__boundedsem.py
index 02bd95c..9e99dc4 100644
--- a/tests/stdlib/test_thread__boundedsem.py
+++ b/tests/stdlib/test_thread__boundedsem.py
@@ -1,15 +1,15 @@
"""Test that BoundedSemaphore with a very high bound is as good as unbounded one"""
-from eventlet import coros
+from eventlet import semaphore
from eventlet.green import thread
def allocate_lock():
- return coros.semaphore(1, 9999)
+ return semaphore.Semaphore(1, 9999)
original_allocate_lock = thread.allocate_lock
thread.allocate_lock = allocate_lock
original_LockType = thread.LockType
-thread.LockType = coros.CappedSemaphore
+thread.LockType = semaphore.CappedSemaphore
try:
import os.path