Commit ce6c1017 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Really fix import.

parent b4acd028
......@@ -2,7 +2,10 @@
# There was a bug in MicroPython that under some conditions class stored
# in instance attribute later was returned "bound" as if it was a method,
# which caused class constructor to receive extra argument.
from _collections import namedtuple
from collections import namedtuple
except ImportError:
from _collections import namedtuple
_DefragResultBase = namedtuple('DefragResult', 'foo bar')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment