Skip to content

Commit 3ed48aa

Browse files
committed
Python: remove leftover arg in test code
1 parent 5ec0716 commit 3ed48aa

File tree

1 file changed

+2
-2
lines changed
  • python/ql/test/library-tests/PointsTo/regressions/wrong/classmethod

1 file changed

+2
-2
lines changed

python/ql/test/library-tests/PointsTo/regressions/wrong/classmethod/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ def no_problem(cls):
1111

1212
@some_decorator
1313
@classmethod
14-
def problem_through_instance(cls, new_arg):
14+
def problem_through_instance(cls):
1515
# Problem is that our analysis says that 'cls' can point to EITHER the
1616
# Class Foo (correct) or an instance of Foo (wrong)
1717
check(cls)
1818

1919
@some_decorator
2020
@classmethod
21-
def problem_through_class(cls, new_arg):
21+
def problem_through_class(cls):
2222
check(cls) # same as above
2323

2424
# We need to call the methods before our analysis works

0 commit comments

Comments
 (0)