(self)
| 2148 | |
| 2149 | |
| 2150 | def test_continuation(self): |
| 2151 | # Balancing continuation |
| 2152 | self.check_roundtrip("a = (3,4, \n" |
| 2153 | "5,6)\n" |
| 2154 | "y = [3, 4,\n" |
| 2155 | "5]\n" |
| 2156 | "z = {'a': 5,\n" |
| 2157 | "'b':15, 'c':True}\n" |
| 2158 | "x = len(y) + 5 - a[\n" |
| 2159 | "3] - a[2]\n" |
| 2160 | "+ len(z) - z[\n" |
| 2161 | "'b']\n") |
| 2162 | |
| 2163 | def test_backslash_continuation(self): |
| 2164 | # Backslash means line continuation, except for comments |
nothing calls this directly
no test coverage detected