Python: Fix test failures.

This commit is contained in:
Taus Brock-Nannestad
2020-07-07 17:01:17 +02:00
parent df4d145490
commit 45eccb2521
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
WARNING: Predicate ssa_variable_points_to has been deprecated and may be removed in future (SSA.ql:10,5-37)
WARNING: Predicate ssa_variable_points_to has been deprecated and may be removed in future (SSA.ql:10,3-35)
| __init__.py:0 | __name___0 = ScopeEntryDefinition | 'code' | builtin-class str |
| __init__.py:0 | __name___0 = ScopeEntryDefinition | 'code.package' | builtin-class str |
| __init__.py:0 | __name___0 = ScopeEntryDefinition | 'code.test_package' | builtin-class str |

View File

@@ -1,5 +1,5 @@
WARNING: Predicate getNode has been deprecated and may be removed in future (TestStep.ql:6,77-84)
WARNING: Predicate getNode has been deprecated and may be removed in future (TestStep.ql:8,17-24)
WARNING: Predicate getNode has been deprecated and may be removed in future (TestStep.ql:8,15-22)
| Taint simple.test | visitor.py:10 | arg | p2 = simple.test | --> | Taint simple.test | visitor.py:13 | arg | p2 = simple.test |
| Taint simple.test | visitor.py:18 | arg | | --> | Taint simple.test | visitor.py:19 | arg | |
| Taint simple.test | visitor.py:19 | arg | | --> | Taint simple.test | visitor.py:26 | Attribute() | |

View File

@@ -1,5 +1,5 @@
WARNING: Type CallContext has been deprecated and may be removed in future (Contexts.ql:5,6-17)
WARNING: Type CallContext has been deprecated and may be removed in future (Contexts.ql:7,12-23)
WARNING: Type CallContext has been deprecated and may be removed in future (Contexts.ql:7,10-21)
| assignment.py:1 | p0 = simple.test | Function test |
| assignment.py:1 | p1 = simple.test | Function test |
| assignment.py:1 | p2 = simple.test | Function test |