summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/special_methods.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-15 18:11:16 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-15 18:11:16 +0300
commitf980c70997eb9748ed169d486489ab3d0d2002af (patch)
treeb1d32b37acaf447230147b7fdb4a2d37d956e38d /tests/basics/special_methods.py
parentb737c9cbc823b012808ae08c8b285b4e1543703a (diff)
downloadmicropython-f980c70997eb9748ed169d486489ab3d0d2002af.tar.gz
micropython-f980c70997eb9748ed169d486489ab3d0d2002af.zip
tests/basic/: Make various tests skippable.
To run the testsuite on small ports.
Diffstat (limited to 'tests/basics/special_methods.py')
-rw-r--r--tests/basics/special_methods.py40
1 files changed, 1 insertions, 39 deletions
diff --git a/tests/basics/special_methods.py b/tests/basics/special_methods.py
index 1df7a7c4c7..9f57247c12 100644
--- a/tests/basics/special_methods.py
+++ b/tests/basics/special_methods.py
@@ -105,42 +105,4 @@ cud1 > cud2
cud1 + cud2
cud1 - cud2
-# the following require MICROPY_PY_ALL_SPECIAL_METHODS
-+cud1
--cud1
-~cud1
-cud1 * cud2
-cud1 / cud2
-cud2 // cud1
-cud1 += cud2
-cud1 -= cud2
-
-# TODO: the following operations are not supported on every ports
-#
-# ne is not supported, !(eq) is called instead
-#cud1 != cud2
-#
-# binary and is not supported
-# cud1 & cud2
-#
-# binary lshift is not supported
-# cud1<<1
-#
-# modulus is not supported
-# cud1 % 2
-#
-# binary or is not supported
-# cud1 | cud2
-#
-# pow is not supported
-# cud1**2
-#
-# rshift is not suported
-# cud1>>1
-#
-# xor is not supported
-# cud1^cud2
-#
-# in the followin test, cpython still calls __eq__
-# cud3=cud1
-# cud3==cud1
+# more in special_methods2.py