Skip to content

Commit f8d7a36

Browse files
RasmusWLyoff
andcommitted
Python: Rewrite test for __add__ special method
Co-authored-by: yoff <[email protected]>
1 parent ae1d4de commit f8d7a36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/test/experimental/library-tests/CallGraph/code/class_special_methods.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def wat(self):
3838
print("\n! b2")
3939
b2 = Base(2) # $ tt=Base.__init__
4040

41-
# __add__ is called
42-
b + b2
43-
b + 100
41+
42+
b + b2 # $ MISSING: tt=Base.__add__
43+
b + 100 # $ MISSING: tt=Base.__add__
4444

4545

4646
# ========

0 commit comments

Comments
 (0)