Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ea3fc0

Browse files
committed
Python: adjust test annotation (for after feature)
1 parent 4bc0448 commit 7ea3fc0

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

  • python/ql/test/experimental/dataflow/coverage

python/ql/test/experimental/dataflow/coverage/classes.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def test_contains():
497497
class With_add:
498498

499499
def __add__(self, other):
500-
OK() # Call not found
500+
OK()
501501
return self
502502

503503
def test_add():
@@ -508,7 +508,7 @@ def test_add():
508508
class With_sub:
509509

510510
def __sub__(self, other):
511-
OK() # Call not found
511+
OK()
512512
return self
513513

514514
def test_sub():
@@ -519,7 +519,7 @@ def test_sub():
519519
class With_mul:
520520

521521
def __mul__(self, other):
522-
OK() # Call not found
522+
OK()
523523
return self
524524

525525
def test_mul():
@@ -530,7 +530,7 @@ def test_mul():
530530
class With_matmul:
531531

532532
def __matmul__(self, other):
533-
OK() # Call not found
533+
OK()
534534
return self
535535

536536
def test_matmul():
@@ -541,7 +541,7 @@ def test_matmul():
541541
class With_truediv:
542542

543543
def __truediv__(self, other):
544-
OK() # Call not found
544+
OK()
545545
return self
546546

547547
def test_truediv():
@@ -552,7 +552,7 @@ def test_truediv():
552552
class With_floordiv:
553553

554554
def __floordiv__(self, other):
555-
OK() # Call not found
555+
OK()
556556
return self
557557

558558
def test_floordiv():
@@ -563,7 +563,7 @@ def test_floordiv():
563563
class With_mod:
564564

565565
def __mod__(self, other):
566-
OK() # Call not found
566+
OK()
567567
return self
568568

569569
def test_mod():
@@ -585,12 +585,12 @@ def test_divmod():
585585
class With_pow:
586586

587587
def __pow__(self, other):
588-
OK() # Call not found
588+
OK()
589589
return self
590590

591591
def test_pow():
592592
with_pow = With_pow()
593-
pow(with_pow, with_pow)
593+
pow(with_pow, with_pow) # Call not found
594594

595595
def test_pow_op():
596596
with_pow = With_pow()
@@ -600,7 +600,7 @@ def test_pow_op():
600600
class With_lshift:
601601

602602
def __lshift__(self, other):
603-
OK() # Call not found
603+
OK()
604604
return self
605605

606606
def test_lshift():
@@ -611,7 +611,7 @@ def test_lshift():
611611
class With_rshift:
612612

613613
def __rshift__(self, other):
614-
OK() # Call not found
614+
OK()
615615
return self
616616

617617
def test_rshift():
@@ -622,7 +622,7 @@ def test_rshift():
622622
class With_and:
623623

624624
def __and__(self, other):
625-
OK() # Call not found
625+
OK()
626626
return self
627627

628628
def test_and():
@@ -633,7 +633,7 @@ def test_and():
633633
class With_xor:
634634

635635
def __xor__(self, other):
636-
OK() # Call not found
636+
OK()
637637
return self
638638

639639
def test_xor():
@@ -644,7 +644,7 @@ def test_xor():
644644
class With_or:
645645

646646
def __or__(self, other):
647-
OK() # Call not found
647+
OK()
648648
return self
649649

650650
def test_or():

0 commit comments

Comments
 (0)