tests/basics/namedtuple*: Import ucollections first.

Otherwise, test may have artefacts in the presence of the micropython-lib
module.
pull/3882/merge
Paul Sokolovsky 2018-02-03 14:50:00 +02:00 zatwierdzone przez Damien George
rodzic 2e3468a68c
commit bdceea1d12
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
try:
try:
from collections import namedtuple
except ImportError:
from ucollections import namedtuple
except ImportError:
from collections import namedtuple
except ImportError:
print("SKIP")
raise SystemExit

Wyświetl plik

@ -1,8 +1,8 @@
try:
try:
from collections import namedtuple
except ImportError:
from ucollections import namedtuple
except ImportError:
from collections import namedtuple
except ImportError:
print("SKIP")
raise SystemExit