mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
Merge pull request #1092 from markshannon/python-fix-2-tests
Python: Update python-2 specific tests for new parser/tokenizer.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
| 16 | 5 | 17 | 7 | ef |
|
||||
| 21 | 1 | 21 | 8 | string |
|
||||
| 24 | 1 | 24 | 10 | \n\n\n\n |
|
||||
| 27 | 1 | 27 | 14 | \\u0123\\u1234 |
|
||||
| 27 | 1 | 27 | 14 | \u0123\u1234 |
|
||||
| 30 | 1 | 30 | 9 | word |
|
||||
| 33 | 1 | 33 | 14 | \n\n\n\n0 |
|
||||
| 36 | 1 | 39 | 3 | \nline 0\nline 1\n |
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
| EncodingError.py:5:8:5:8 | Encoding Error | 'ascii' codec can't decode byte 0xc3 in position 47: ordinal not in range(128) |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| bad_encoding.py:11:19:11:19 | Encoding Error | 'ascii' codec can't decode byte 0x82 in position 82: ordinal not in range(128) |
|
||||
| bad_encoding.py:11:19:11:19 | Encoding Error | 'utf8' codec can't decode byte 0x82 in position 82: invalid start byte |
|
||||
|
||||
@@ -1 +1 @@
|
||||
| nonsense.py:1:1:1:1 | Syntax Error | Syntax Error (in Python 2.7). |
|
||||
| nonsense.py:1:14:1:14 | Syntax Error | Syntax Error (in Python 2.7). |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
`Twas brillig, and the slithy toves
|
||||
`Twas brillig, and the slithy toves
|
||||
Did gyre and gimble in the wabe:
|
||||
All mimsy were the borogoves,
|
||||
And the mome raths outgrabe.
|
||||
|
||||
Reference in New Issue
Block a user