diff options
| author | Damien George | 2020-09-17 13:37:31 +1000 |
|---|---|---|
| committer | Damien George | 2020-09-18 18:40:42 +1000 |
| commit | 42342fa3cb30e2eac56ceb1d21b4eb60a0f406f3 (patch) | |
| tree | 6bb1fb0f5d62e8d22c208651532b9983f27eb2cb /ports/unix | |
| parent | c410a86814abde8ce05aaf46383f38ef9f981a8c (diff) | |
tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops.
And enable this feature on unix, the coverage variant. The .exp test file
is needed so the test can run on CPython versions prior to "@=" operator
support.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/unix')
| -rw-r--r-- | ports/unix/variants/coverage/mpconfigvariant.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/variants/coverage/mpconfigvariant.h b/ports/unix/variants/coverage/mpconfigvariant.h index 802c2fe5f..3de529432 100644 --- a/ports/unix/variants/coverage/mpconfigvariant.h +++ b/ports/unix/variants/coverage/mpconfigvariant.h @@ -39,6 +39,7 @@ #define MICROPY_WARNINGS_CATEGORY (1) #define MICROPY_MODULE_GETATTR (1) #define MICROPY_PY_DELATTR_SETATTR (1) +#define MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_BUILTINS_MEMORYVIEW_ITEMSIZE (1) #define MICROPY_PY_BUILTINS_NEXT2 (1) |
