Files
codeql/python/ql/test/library-tests/PointsTo/metaclass/Failed.ql
2020-03-30 11:59:10 +02:00

8 lines
173 B
Plaintext

import python
from ClassObject cls, string reason
where
cls.getPyClass().getEnclosingModule().getName() = "test" and
cls.failedInference(reason)
select cls, reason