mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
tests/basic/[a-f]*: Make skippable.
For small ports which don't have all features enabled.
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
try:
|
||||
from collections import namedtuple
|
||||
except ImportError:
|
||||
from ucollections import namedtuple
|
||||
try:
|
||||
from ucollections import namedtuple
|
||||
except ImportError:
|
||||
import sys
|
||||
print("SKIP")
|
||||
sys.exit()
|
||||
|
||||
_DefragResultBase = namedtuple('DefragResult', [ 'foo', 'bar' ])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user