diff options
author | Damien George <damien@micropython.org> | 2025-09-14 11:50:29 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-10-01 23:59:05 +1000 |
commit | a3a2b9e9738332eb9033bc1c227c9a69e9476e97 (patch) | |
tree | e8bcfdd91e53cd7a9afdff73c9505a4ee025c71b /tests/extmod/tls_threads.py | |
parent | c176fe8702cd806cbd0981234a4d7328e37b1673 (diff) |
tests/extmod: Improve skip detection of extmod tests.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/tls_threads.py')
-rw-r--r-- | tests/extmod/tls_threads.py | 3 |
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): |