Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index ac14e66..4c21e6b 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -739,7 +739,7 @@
 
         def generator():
             while 1:
-                yield "genereator"
+                yield "generator"
 
         def callback():
             if callback.gen is None: