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,8 +1,7 @@
# Test ilistdir __del__ for VfsPosix.
import gc
try:
import os, vfs
import gc, os, vfs
vfs.VfsPosix
except (ImportError, AttributeError):