summaryrefslogtreecommitdiff
path: root/ports/unix/coverage.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-13 12:47:29 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-18 12:35:56 +1000
commita5f5552a0a52cfd37f1db4d6df2194a4090561f5 (patch)
tree40031e60ffa2afaa0e759108de198be47005ced3 /ports/unix/coverage.c
parente8398a58567cc94b866d46721fd06289601f5c8a (diff)
tests/unix/extra_coverage: Don't test stream objs with NULL write fun.
This behaviour of a NULL write C method on a stream that uses the write adaptor objects is no longer supported. It was only ever used by the coverage build for testing the fail path of mp_get_stream_raise().
Diffstat (limited to 'ports/unix/coverage.c')
-rw-r--r--ports/unix/coverage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/unix/coverage.c b/ports/unix/coverage.c
index eba84f38b..7820f6d73 100644
--- a/ports/unix/coverage.c
+++ b/ports/unix/coverage.c
@@ -118,7 +118,6 @@ STATIC mp_uint_t stest_read2(mp_obj_t o_in, void *buf, mp_uint_t size, int *errc
STATIC const mp_rom_map_elem_t rawfile_locals_dict_table2[] = {
{ MP_ROM_QSTR(MP_QSTR_read), MP_ROM_PTR(&mp_stream_read_obj) },
- { MP_ROM_QSTR(MP_QSTR_write), MP_ROM_PTR(&mp_stream_write_obj) },
};
STATIC MP_DEFINE_CONST_DICT(rawfile_locals_dict2, rawfile_locals_dict_table2);