diff options
Diffstat (limited to 'test/stress_phystoken.txt')
| -rw-r--r-- | test/stress_phystoken.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/stress_phystoken.txt b/test/stress_phystoken.txt new file mode 100644 index 00000000..bd6a453a --- /dev/null +++ b/test/stress_phystoken.txt @@ -0,0 +1,35 @@ +# Here's some random Python so that test_tokenize_myself will have some +# stressful stuff to try. This file is .txt instead of .py so pylint won't +# complain about it. + +first_back = """\ +hey there! +""" + +other_back = """ +hey \ +there +""" + +lots_of_back = """\ +hey \ +there +""" +fake_back = """\ +ouch +""" + +class C(object): + def there(): + this = 5 + \ + 7 + that = \ + "a continued line" + +cont1 = "one line of text" + \ + "another line of text" + +def hello(): + print("Hello world!") + +hello() |
