summaryrefslogtreecommitdiffstats
path: root/Lib/threading.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/threading.py')
-rw-r--r--Lib/threading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 79319c1..d2ab9ed 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -549,7 +549,7 @@ _MainThread()
def _test():
- import whrandom
+ import random
class BoundedQueue(_Verbose):
@@ -592,7 +592,7 @@ def _test():
self.quota = quota
def run(self):
- from whrandom import random
+ from random import random
counter = 0
while counter < self.quota:
counter = counter + 1