kopia lustrzana https://github.com/micropython/micropython
tests/basics/namedtuple*: Import ucollections first.
Otherwise, test may have artefacts in the presence of the micropython-lib module.pull/3882/merge
rodzic
2e3468a68c
commit
bdceea1d12
|
@ -1,8 +1,8 @@
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
from collections import namedtuple
|
|
||||||
except ImportError:
|
|
||||||
from ucollections import namedtuple
|
from ucollections import namedtuple
|
||||||
|
except ImportError:
|
||||||
|
from collections import namedtuple
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
from collections import namedtuple
|
|
||||||
except ImportError:
|
|
||||||
from ucollections import namedtuple
|
from ucollections import namedtuple
|
||||||
|
except ImportError:
|
||||||
|
from collections import namedtuple
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("SKIP")
|
print("SKIP")
|
||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
|
Ładowanie…
Reference in New Issue