0c7354afaf
So they can be skipped if __rOP__'s are not supported on the target. Also fix the typo in the complex_special_methods.py filename. Signed-off-by: Damien George <damien@micropython.org>
11 lines
145 B
Python
11 lines
145 B
Python
# test complex interacting with special methods
|
|
|
|
|
|
class A:
|
|
def __add__(self, x):
|
|
print("__add__")
|
|
return 1
|
|
|
|
|
|
print(A() + 1j)
|