aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_locks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_locks.py')
-rw-r--r--Lib/test/test_asyncio/test_locks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_locks.py b/Lib/test/test_asyncio/test_locks.py
index 539c5c38ee3..df106e0d151 100644
--- a/Lib/test/test_asyncio/test_locks.py
+++ b/Lib/test/test_asyncio/test_locks.py
@@ -805,7 +805,7 @@ class SemaphoreTests(unittest.TestCase):
self.assertFalse(sem._waiters)
def test_release_not_acquired(self):
- sem = locks.Semaphore(bound=True, loop=self.loop)
+ sem = locks.BoundedSemaphore(loop=self.loop)
self.assertRaises(ValueError, sem.release)