| 230 | check_find(ipt2.HelpEnd, (["foo = '''bar?\n"], None, None), match=False) |
| 231 | |
| 232 | def test_transform_help(): |
| 233 | tf = ipt2.HelpEnd((1, 0), (1, 9)) |
| 234 | nt.assert_equal(tf.transform(HELP_IN_EXPR[0]), HELP_IN_EXPR[2]) |
| 235 | |
| 236 | tf = ipt2.HelpEnd((1, 0), (2, 3)) |
| 237 | nt.assert_equal(tf.transform(HELP_CONTINUED_LINE[0]), HELP_CONTINUED_LINE[2]) |
| 238 | |
| 239 | tf = ipt2.HelpEnd((1, 0), (2, 8)) |
| 240 | nt.assert_equal(tf.transform(HELP_MULTILINE[0]), HELP_MULTILINE[2]) |
| 241 | |
| 242 | tf = ipt2.HelpEnd((1, 0), (1, 0)) |
| 243 | nt.assert_equal(tf.transform(HELP_UNICODE[0]), HELP_UNICODE[2]) |
| 244 | |
| 245 | def test_find_assign_op_dedent(): |
| 246 | """ |