We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec0716 commit 3ed48aaCopy full SHA for 3ed48aa
python/ql/test/library-tests/PointsTo/regressions/wrong/classmethod/test.py
@@ -11,14 +11,14 @@ def no_problem(cls):
11
12
@some_decorator
13
@classmethod
14
- def problem_through_instance(cls, new_arg):
+ def problem_through_instance(cls):
15
# Problem is that our analysis says that 'cls' can point to EITHER the
16
# Class Foo (correct) or an instance of Foo (wrong)
17
check(cls)
18
19
20
21
- def problem_through_class(cls, new_arg):
+ def problem_through_class(cls):
22
check(cls) # same as above
23
24
# We need to call the methods before our analysis works
0 commit comments