tests/extmod: Improve skip detection of extmod tests.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-09-14 11:50:29 +10:00
parent c176fe8702
commit a3a2b9e973
6 changed files with 12 additions and 16 deletions

View File

@@ -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):