micropython/tests/misc
Damien George 2ac1364688 py/objset: Check that RHS of a binary op is a set/frozenset.
CPython docs explicitly state that the RHS of a set/frozenset binary op
must be a set to prevent user errors.  It also preserves commutativity of
the ops, eg: "abc" & set() is a TypeError, and so should be set() & "abc".

This change actually decreases unix (x64) code by 160 bytes; it increases
stm32 by 4 bytes and esp8266 by 28 bytes (but previous patch already
introduced a much large saving).
2017-10-03 17:56:27 +11:00
..
features.py
non_compliant.py py/objset: Check that RHS of a binary op is a set/frozenset. 2017-10-03 17:56:27 +11:00
non_compliant.py.exp py/objset: Check that RHS of a binary op is a set/frozenset. 2017-10-03 17:56:27 +11:00
non_compliant_lexer.py
non_compliant_lexer.py.exp
print_exception.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
recursion.py
recursive_data.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
recursive_data.py.exp
recursive_iternext.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
recursive_iternext.py.exp
rge_sm.py
sys_exc_info.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00