summaryrefslogtreecommitdiff
path: root/tests/extmod/tls_threads.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/tls_threads.py')
-rw-r--r--tests/extmod/tls_threads.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extmod/tls_threads.py b/tests/extmod/tls_threads.py
index 4564abd3d..1e0c3d23d 100644
--- a/tests/extmod/tls_threads.py
+++ b/tests/extmod/tls_threads.py
@@ -1,6 +1,5 @@
# Ensure that SSL sockets can be allocated from multiple
# threads without thread safety issues
-import unittest
try:
import _thread
@@ -11,6 +10,8 @@ except ImportError:
print("SKIP")
raise SystemExit
+import unittest
+
class TestSocket(io.IOBase):
def write(self, buf):