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