Skip to content

Commit e6d0b20

Browse files
committed
Removed MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT from unix coverage
1 parent 4270061 commit e6d0b20

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ports/unix/mpconfigport_coverage.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
#define MICROPY_VFS_FAT (1)
5050
#define MICROPY_FATFS_USE_LABEL (1)
5151
#define MICROPY_PY_FRAMEBUF (1)
52-
#define MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT (1)
5352

5453
// TODO these should be generic, not bound to fatfs
5554
#define mp_type_fileio mp_type_vfs_posix_fileio

py/objnamedtuple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ size_t mp_obj_namedtuple_find_field(const mp_obj_namedtuple_type_t *type, qstr n
4646
return (size_t)-1;
4747
}
4848

49-
#if MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT
49+
#if MICROPY_PY_COLLECTIONS_ORDEREDDICT
5050
STATIC mp_obj_t namedtuple_asdict(mp_obj_t self_in) {
5151
mp_obj_namedtuple_t *self = MP_OBJ_TO_PTR(self_in);
5252
const qstr *fields = ((mp_obj_namedtuple_type_t*)self->tuple.base.type)->fields;

0 commit comments

Comments
 (0)