| 1 | # Make sure that quotes inside multiline strings are allowed, including right |
| 2 | # after the opening '''/""" and before the closing '''/""" |
| 3 | |
| 4 | lit_one = ''''one quote'''' |
| 5 | lit_two = '''''two quotes''''' |
| 6 | lit_one_space = ''' 'one quote' ''' |
| 7 | lit_two_space = ''' ''two quotes'' ''' |
| 8 | |
| 9 | one = """"one quote"""" |
| 10 | two = """""two quotes""""" |
| 11 | one_space = """ "one quote" """ |
| 12 | two_space = """ ""two quotes"" """ |
| 13 | |
| 14 | mismatch1 = """aaa'''bbb""" |
| 15 | mismatch2 = '''aaa"""bbb''' |
| 16 | |
| 17 | lit1 = '\' |
| 18 | lit2 = '\\' |
| 19 | lit3 = '\tricky\' |
| 20 | |
| 21 | ml_lit1 = ''' |
| 22 | \''' |
| 23 | ml_lit2 = '''\ |
| 24 | \''' |
| 25 | ml_lit3 = '''\ |
| 26 | tricky\ |
| 27 | ''' |
| 28 | |