summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tenvvars.nim2
-rw-r--r--tests/stdlib/tnetdial.nim2
-rw-r--r--tests/stdlib/tosenv.nim2
-rw-r--r--tests/stdlib/tssl.nim2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/stdlib/tenvvars.nim b/tests/stdlib/tenvvars.nim
index e49bd519a..03a46a013 100644
--- a/tests/stdlib/tenvvars.nim
+++ b/tests/stdlib/tenvvars.nim
@@ -10,7 +10,7 @@ import stdtest/testutils
 import std/[assertions]
 
 when not defined(js):
-  import std/threads
+  import std/typedthreads
 
 # "LATIN CAPITAL LETTER AE" in UTF-8 (0xc386)
 const unicodeUtf8 = "\xc3\x86"
diff --git a/tests/stdlib/tnetdial.nim b/tests/stdlib/tnetdial.nim
index 41485d525..a1e147ad5 100644
--- a/tests/stdlib/tnetdial.nim
+++ b/tests/stdlib/tnetdial.nim
@@ -5,7 +5,7 @@ discard """
 """
 
 import os, net, nativesockets, asyncdispatch
-import std/[assertions, threads]
+import std/[assertions, typedthreads]
 
 ## Test for net.dial
 
diff --git a/tests/stdlib/tosenv.nim b/tests/stdlib/tosenv.nim
index f715b4b70..20264102f 100644
--- a/tests/stdlib/tosenv.nim
+++ b/tests/stdlib/tosenv.nim
@@ -58,7 +58,7 @@ proc c_getenv(env: cstring): cstring {.importc: "getenv", header: "<stdlib.h>".}
 
 when not defined(js) and not defined(nimscript):
   when defined(nimPreviewSlimSystem):
-    import std/threads
+    import std/typedthreads
   block: # bug #18533
     var thr: Thread[void]
     proc threadFunc {.thread.} = putEnv("foo", "fooVal2")
diff --git a/tests/stdlib/tssl.nim b/tests/stdlib/tssl.nim
index e4c6f68cf..f8e52ab4b 100644
--- a/tests/stdlib/tssl.nim
+++ b/tests/stdlib/tssl.nim
@@ -4,7 +4,7 @@ discard """
   disabled: "openbsd"
 """
 # disabled: pending bug #15713
-import std/[net, nativesockets, assertions, threads]
+import std/[net, nativesockets, assertions, typedthreads]
 
 when defined(posix): import os, posix
 else:
href='#n238'>238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268