Skip to content

Commit 358964b

Browse files
committed
Python: Accept changes in Python 2 specific six tests
We don't use a locked-down version of six, so some internal things probably changed from the version used last time, and the versoin I have installed. Long term fix would be to use a specific version of six for tests!
1 parent 6c259e5 commit 358964b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| Module six | BytesIO | class StringIO |
22
| Module six | Iterator | class Iterator |
3+
| Module six | MAXSIZE | int() |
34
| Module six | PY2 | bool True |
45
| Module six | PY3 | bool False |
56
| Module six | StringIO | class StringIO |
@@ -45,14 +46,6 @@
4546
| Module six | iterlists | Function iterlists |
4647
| Module six | itervalues | Function itervalues |
4748
| Module six | moves | Module six.moves |
48-
| Module six | moves.__init__ | Module six.moves.__init__ |
49-
| Module six | moves.urllib | Module six.moves.urllib |
50-
| Module six | moves.urllib.__init__ | Module six.moves.urllib.__init__ |
51-
| Module six | moves.urllib_error | Module six.moves.urllib_error |
52-
| Module six | moves.urllib_parse | Module six.moves.urllib_parse |
53-
| Module six | moves.urllib_request | Module six.moves.urllib_request |
54-
| Module six | moves.urllib_response | Module six.moves.urllib_response |
55-
| Module six | moves.urllib_robotparser | Module six.moves.urllib_robotparser |
5649
| Module six | next | Builtin-function next |
5750
| Module six | operator | Module operator |
5851
| Module six | print_ | Function print_ |
@@ -67,6 +60,7 @@
6760
| Module six | with_metaclass | Function with_metaclass |
6861
| Module six.__init__ | BytesIO | class StringIO |
6962
| Module six.__init__ | Iterator | class Iterator |
63+
| Module six.__init__ | MAXSIZE | int() |
7064
| Module six.__init__ | PY2 | bool True |
7165
| Module six.__init__ | PY3 | bool False |
7266
| Module six.__init__ | StringIO | class StringIO |
@@ -174,7 +168,6 @@
174168
| Module six.moves | tkinter_tksimpledialog | Module tkSimpleDialog |
175169
| Module six.moves | tkinter_ttk | Module ttk |
176170
| Module six.moves | urllib | Module six.moves.urllib |
177-
| Module six.moves | urllib.__init__ | Module six.moves.urllib.__init__ |
178171
| Module six.moves | urllib_error | Module six.moves.urllib_error |
179172
| Module six.moves | urllib_parse | Module six.moves.urllib_parse |
180173
| Module six.moves | urllib_request | Module six.moves.urllib_request |

0 commit comments

Comments
 (0)