xref: /Universal-ctags/Units/parser-python.r/py-skipped-string.d/input.py (revision 8390cad4e0f2e21e42bcaba76b7d5d8bb3855204)
1# triple start string immediately after a normal string not detected
2
3def f1():
4    ''"""
5    The string above was not detected as triple start string,
6    but the one below instead.
7    """
8    print "f1"
9
10def f2():
11    ''"""
12    The string above was then detected as end string,
13    and the one below as start string again.
14    """
15    print "f2"
16
17def f3():
18    """
19    The string below is prepared so that ctags with the bug does not start a
20    new triple string. For a clean precondition for the next test.
21    ''"""
22    print "f3"
23
24# normal string immediately after a normal string not detected
25
26''" import os\
27"
28
29""' def fX():\
30'
31