Python: Fix Python 3 tests

This commit is contained in:
Taus
2025-10-30 23:08:11 +00:00
parent 85029bd77d
commit 665104e626
27 changed files with 27 additions and 1 deletions

View File

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

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