Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dea5596

Browse files
committed
update MaD test to reflect that dotted module names don't work
1 parent 31e9876 commit dea5596

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

python/ql/test/library-tests/frameworks/data/test.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ isSink
4848
| test.py:87:8:87:67 | ControlFlowNode for Attribute() | test-sink |
4949
| test.py:89:21:89:23 | ControlFlowNode for one | test-source |
5050
| test.py:90:25:90:27 | ControlFlowNode for one | test-source |
51-
| test.py:95:6:95:9 | ControlFlowNode for baz1 | test-source |
5251
| test.py:98:6:98:9 | ControlFlowNode for baz2 | test-source |
5352
isSource
5453
| test.py:3:5:3:15 | ControlFlowNode for getSource() | test-source |

python/ql/test/library-tests/frameworks/data/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def secondAndAfter(self, arg1, arg2, arg3, arg4, arg5):
9292
CallFilter.arityOne(one=one, two=two) # NO match
9393

9494
from foo1.bar import baz1
95-
baz1(baz1) # match
95+
baz1(baz1) # no match, and that's the point.
9696

9797
from foo2.bar import baz2
9898
baz2(baz2) # match

0 commit comments

Comments
 (0)