aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorPaul Sokolovsky2017-09-10 17:05:31 +0300
committerPaul Sokolovsky2017-09-10 17:05:57 +0300
commitd6f9d64d97af245d042cbab8438dde25a29c504f (patch)
treebb5c5b3c758c2f6909565aa7f2e425ca4b464e05 /ports
parenteb84a830df62813f5af7f0144fc77444bf18f3a8 (diff)
tests/class_reverse_op: Test for reverse arith ops special methods.
This test should be run only if support for reverse ops is enabled, so the corresponding feature_check is added to run-tests.
Diffstat (limited to 'ports')
-rw-r--r--ports/qemu-arm/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/qemu-arm/mpconfigport.h b/ports/qemu-arm/mpconfigport.h
index a12165a92..51706b927 100644
--- a/ports/qemu-arm/mpconfigport.h
+++ b/ports/qemu-arm/mpconfigport.h
@@ -18,6 +18,7 @@
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
+#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_BUILTINS_FROZENSET (1)
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)