Python: Rewrite test for __add__ special method

Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
Rasmus Wriedt Larsen
2023-01-17 11:45:57 +01:00
parent ae1d4decc3
commit f8d7a367ad

View File

@@ -38,9 +38,9 @@ b.__call__(44) # $ pt,tt=Base.__call__
print("\n! b2")
b2 = Base(2) # $ tt=Base.__init__
# __add__ is called
b + b2
b + 100
b + b2 # $ MISSING: tt=Base.__add__
b + 100 # $ MISSING: tt=Base.__add__
# ========