LibCST/libcst/_parser/tests
Jennifer Taylor 57860f3d76 Fix trailing newline detection around continuation.
If you have such a program like "pass\\\n", this is technically a program without a trailing newline, since line continuations are defined as being a `\` followed by a newline. We were misdetecting this as having a trailing newline, thus making it impossible to parse the continuation. Add some tests to verify this behavior and then fix the problem.

Note that this was found via hypothesis.
2019-10-21 13:24:25 -07:00
..
__init__.py Make parser package private 2019-07-26 12:48:22 -07:00
test_detect_config.py Fix trailing newline detection around continuation. 2019-10-21 13:24:25 -07:00
test_footer_behavior.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
test_node_identity.py Add test case for uniqueness of resulting tree when parsing. 2019-09-25 12:36:33 -07:00
test_parse_errors.py Make conversion functions use ParserSyntaxError 2019-08-22 13:35:11 -07:00
test_version_compare.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
test_whitespace_parser.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00
test_wrapped_tokenize.py Fix internal underscore convention. 2019-09-17 13:52:42 -07:00