Skip to content

Commit c013d4a

Browse files
committed
Python: update test expectations
1 parent 4a29114 commit c013d4a

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
| mapping | builtin-class collections.defaultdict |
21
| mapping | builtin-class dict |
32
| mapping | class MyDictSubclass |
4-
| mapping | class MyMappingABC |
5-
| mapping | class OrderedDict |
63
| neither sequence nor mapping | builtin-class set |
4+
| neither sequence nor mapping | class MyMappingABC |
5+
| neither sequence nor mapping | class MySequenceABC |
76
| sequence | builtin-class list |
87
| sequence | builtin-class str |
98
| sequence | builtin-class tuple |
109
| sequence | builtin-class unicode |
11-
| sequence | class MySequenceABC |
1210
| sequence | class MySequenceImpl |

python/ql/test/2/library-tests/PointsTo/imports2/Runtime.expected

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,10 @@
4444
| test.py | 15 | ControlFlowNode for moduleX | Module package.moduleX | Entry node for Module package.moduleX |
4545
| test.py | 16 | ControlFlowNode for Attribute | class Y | ControlFlowNode for ClassExpr |
4646
| test.py | 16 | ControlFlowNode for moduleX | Module package.moduleX | Entry node for Module package.moduleX |
47-
| test.py | 19 | ControlFlowNode for ImportExpr | Module tty | ControlFlowNode for ImportExpr |
48-
| test.py | 19 | ControlFlowNode for tty | Module tty | ControlFlowNode for ImportExpr |
4947
| test.py | 22 | ControlFlowNode for Attribute | Builtin-function exc_info | ControlFlowNode for from sys import * |
5048
| test.py | 22 | ControlFlowNode for x | Module package.x | Entry node for Module package.x |
5149
| test.py | 24 | ControlFlowNode for IntegerLiteral | int 0 | ControlFlowNode for IntegerLiteral |
5250
| test.py | 24 | ControlFlowNode for argv | int 0 | ControlFlowNode for IntegerLiteral |
5351
| test.py | 27 | ControlFlowNode for ImportExpr | Module sys | ControlFlowNode for ImportExpr |
5452
| test.py | 31 | ControlFlowNode for argv | list object | ControlFlowNode for from sys import * |
55-
| test.py | 33 | ControlFlowNode for ImportExpr | Module socket | ControlFlowNode for ImportExpr |
56-
| test.py | 34 | ControlFlowNode for timeout | builtin-class socket.timeout | ControlFlowNode for from _socket import * |
5753
| x.py | 2 | ControlFlowNode for ImportExpr | Module sys | ControlFlowNode for ImportExpr |

python/ql/test/2/library-tests/PointsTo/imports2/RuntimeWithType.expected

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,10 @@
4444
| test.py | 15 | ControlFlowNode for moduleX | Module package.moduleX | builtin-class module | Entry node for Module package.moduleX |
4545
| test.py | 16 | ControlFlowNode for Attribute | class Y | builtin-class type | ControlFlowNode for ClassExpr |
4646
| test.py | 16 | ControlFlowNode for moduleX | Module package.moduleX | builtin-class module | Entry node for Module package.moduleX |
47-
| test.py | 19 | ControlFlowNode for ImportExpr | Module tty | builtin-class module | ControlFlowNode for ImportExpr |
48-
| test.py | 19 | ControlFlowNode for tty | Module tty | builtin-class module | ControlFlowNode for ImportExpr |
4947
| test.py | 22 | ControlFlowNode for Attribute | Builtin-function exc_info | builtin-class builtin_function_or_method | ControlFlowNode for from sys import * |
5048
| test.py | 22 | ControlFlowNode for x | Module package.x | builtin-class module | Entry node for Module package.x |
5149
| test.py | 24 | ControlFlowNode for IntegerLiteral | int 0 | builtin-class int | ControlFlowNode for IntegerLiteral |
5250
| test.py | 24 | ControlFlowNode for argv | int 0 | builtin-class int | ControlFlowNode for IntegerLiteral |
5351
| test.py | 27 | ControlFlowNode for ImportExpr | Module sys | builtin-class module | ControlFlowNode for ImportExpr |
5452
| test.py | 31 | ControlFlowNode for argv | list object | builtin-class list | ControlFlowNode for from sys import * |
55-
| test.py | 33 | ControlFlowNode for ImportExpr | Module socket | builtin-class module | ControlFlowNode for ImportExpr |
56-
| test.py | 34 | ControlFlowNode for timeout | builtin-class socket.timeout | builtin-class type | ControlFlowNode for from _socket import * |
5753
| x.py | 2 | ControlFlowNode for ImportExpr | Module sys | builtin-class module | ControlFlowNode for ImportExpr |

python/ql/test/2/library-tests/six/pointsto.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
| six | Package six |
22
| six.moves | Package six.moves |
3-
| six.moves.http_client | Module httplib |
4-
| six.moves.http_client.HTTPConnection | class HTTPConnection |
3+
| six.moves.http_client | Missing module httplib |
4+
| six.moves.http_client.HTTPConnection | Missing module attribute httplib.HTTPConnection |
55
| six.moves.range | builtin-class xrange |
66
| six.moves.urllib | Package six.moves.urllib |
77
| six.moves.urllib.parse | Module six.moves.urllib_parse |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 38 |
1+
| 11 |

0 commit comments

Comments
 (0)