Python: Fix Python 2 tests

This commit is contained in:
Taus
2025-10-30 23:07:25 +00:00
parent 5b63b4957c
commit 85029bd77d
25 changed files with 25 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import python
private import LegacyPointsTo
from ModuleObject m, string name
where m.getName() = "package" or m.getName() = "confused_elements"

View File

@@ -1,4 +1,5 @@
import python
private import LegacyPointsTo
from ModuleObject m, string name
where not m.isC()

View File

@@ -1,4 +1,5 @@
import python
private import LegacyPointsTo
from ModuleObject m, string name
where not m.isC() and m.exports(name)

View File

@@ -1,4 +1,5 @@
import python
private import LegacyPointsTo
from ModuleObject m, string name
where not m.isC() and m.importedAs(name)

View File

@@ -1,4 +1,5 @@
import python
private import LegacyPointsTo
from ModuleValue mv, string usage
where