summary refs log tree commit diff stats
path: root/tests/threads/ttryrecv.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/ttryrecv.nim')
-rw-r--r--tests/threads/ttryrecv.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/ttryrecv.nim b/tests/threads/ttryrecv.nim
index be79fadae..4a98e6c27 100644
--- a/tests/threads/ttryrecv.nim
+++ b/tests/threads/ttryrecv.nim
@@ -4,7 +4,7 @@ discard """
 
 # bug #1816
 
-from math import random
+from random import random
 from os import sleep
 
 type PComm = ptr Channel[int]