summaryrefslogtreecommitdiff
path: root/test/stress_phystoken.txt
blob: bd6a453ab08d3c6e65f9aed388c7dd33f56aef46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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()