mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests: Add tests for op special meths, ubinascii, complex.
This commit is contained in:
5
tests/basics/set_specialmeth.py
Normal file
5
tests/basics/set_specialmeth.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# set object with special methods
|
||||
|
||||
s = {1, 2}
|
||||
print(s.__contains__(1))
|
||||
print(s.__contains__(3))
|
||||
Reference in New Issue
Block a user