diff --git a/Lib/test/test_queue.py b/Lib/test/test_queue.py index b3f24dff517..66977e64f83 100644 --- a/Lib/test/test_queue.py +++ b/Lib/test/test_queue.py @@ -251,7 +251,7 @@ def QueueJoinTest(q): q.put(None) # instruct the threads to close q.join() # verify that you can join twice -def QueueTaskDoneTest(q) +def QueueTaskDoneTest(q): try: q.task_done() except ValueError: