Skip to content

Commit 33382b6

Browse files
committed
Do the easy test first
1 parent f9739fc commit 33382b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uasyncio.queues/uasyncio/queues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def put_nowait(self, val):
8282
8383
If no free slot is immediately available, raise QueueFull.
8484
"""
85-
if self.qsize() >= self.maxsize and self.maxsize:
85+
if self.maxsize and self.qsize() >= self.maxsize:
8686
raise QueueFull()
8787
self._put(val)
8888

0 commit comments

Comments
 (0)