mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
13 lines
353 B
Plaintext
13 lines
353 B
Plaintext
import python
|
|
private import LegacyPointsTo
|
|
|
|
// as used in semmle.python.filters.Tests
|
|
from ClassValue c, string base
|
|
where
|
|
c.getScope().getLocation().getFile().getShortName().matches("mwe%.py") and
|
|
c.getName() = "MyTest" and
|
|
if exists(c.getABaseType())
|
|
then base = c.getABaseType().toString()
|
|
else base = "<MISSING BASE TYPE>"
|
|
select c, base
|