File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
python/ql/test/library-tests/ApiGraphs/py3 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def other_func():
16
16
# On the next line, we wish to express that it is not possible for `Bar` to be a subclass of `A`.
17
17
# However, we have no "true negative" annotation, so we use the MISSING annotation instead.
18
18
# (Normally, "true negative" is not needed as all applicable annotations must be present,
19
- # but for type tracking tests, this would be excessive.)
19
+ # but these API graph tests work differently, since having all results recorded in annotations
20
+ # would be excessive)
20
21
print (Bar ) #$ use=moduleImport("foo").getMember("B").getASubclass() MISSING: use=moduleImport("foo").getMember("A").getASubclass()
21
22
print (Baz ) #$ use=moduleImport("foo").getMember("B").getASubclass() SPURIOUS: use=moduleImport("foo").getMember("A").getASubclass()
22
23
You can’t perform that action at this time.
0 commit comments