##// END OF EJS Templates
Add failing test for line continuation in multiline string
Thomas Kluyver -
Show More
@@ -389,6 +389,11 b' def test_assemble_python_lines():'
389 (u"2,", None),
389 (u"2,", None),
390 (None, u"a = [1,\n2,"),
390 (None, u"a = [1,\n2,"),
391 ],
391 ],
392 [(u"a = '''", None), # Test line continuation within a multi-line string
393 (u"abc\\", None),
394 (u"def", None),
395 (u"'''", u"a = '''\nabc\\\ndef\n'''"),
396 ],
392 ] + syntax_ml['multiline_datastructure']
397 ] + syntax_ml['multiline_datastructure']
393 for example in tests:
398 for example in tests:
394 transform_checker(example, ipt.assemble_python_lines)
399 transform_checker(example, ipt.assemble_python_lines)
General Comments 0
You need to be logged in to leave comments. Login now