There's a need for .exp file because CPython renders OrderedDict's as: OrderedDict([('b', 2)]) while MicroPython as: OrderedDict({'b': 2})