From cceff157ddaf42e6c6390209ea14b7f4997b32c0 Mon Sep 17 00:00:00 2001 From: Delio Brignoli Date: Sat, 6 Jun 2015 18:34:59 +0200 Subject: [PATCH] qemu-arm: Enable array slice assignment to get memoryview1 test to pass. --- qemu-arm/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h index 38ea2f7c3e..3a5a76a451 100644 --- a/qemu-arm/mpconfigport.h +++ b/qemu-arm/mpconfigport.h @@ -15,6 +15,7 @@ #define MICROPY_ENABLE_SOURCE_LINE (1) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE) +#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) #define MICROPY_PY_BUILTINS_FROZENSET (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) #define MICROPY_PY_IO (0)