py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m tests --verbose Nearley not included. Skipping Nearley tests! (use git submodule to add) Warning: Skipping tests for Nearley grammar imports (js2py required) test_automatic_naming (tests.test_cache.TestCache) ... ok test_cache_grammar (tests.test_cache.TestCache) ... ok test_custom_lexer (tests.test_cache.TestCache) ... ok test_error_message (tests.test_cache.TestCache) ... ok test_imports (tests.test_cache.TestCache) ... ok test_inline (tests.test_cache.TestCache) ... ok test_options (tests.test_cache.TestCache) ... ok test_reconstruct (tests.test_cache.TestCache) ... ok test_recursive_pattern (tests.test_cache.TestCache) ... ok test_simple (tests.test_cache.TestCache) ... ok test_alias (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_backslash (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestCykBasic) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_empty_end (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'Empty rules' test_empty_expand1_list (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_empty_flatten_list (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestCykBasic) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_ignore (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestCykBasic) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'match_examples() not supported for CYK/old custom lexer' test_maybe (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_maybe_placeholders (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'Empty rules' test_meddling_unused (tests.test_parser.tests.test_parser.TestCykBasic) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestCykBasic) Tests effect of priority on result ... skipped "Doesn't work for CYK" test_prioritization_sum (tests.test_parser.tests.test_parser.TestCykBasic) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestCykBasic) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_serialize (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestCykBasic) Verify that stack depth isn't an issue for EBNF grammars ... skipped 'Takes forever' test_start (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_strict (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestCykBasic) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestCykBasic) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestCykBasic) ... skipped 'No empty rules' test_unicode (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestCykBasic) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestCykBasic) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestCykBasic) ... ok test_alias (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_backslash (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_empty_end (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'Empty rules' test_empty_expand1_list (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_empty_flatten_list (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_ignore (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'match_examples() not supported for CYK/old custom lexer' test_maybe (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_maybe_placeholders (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'Empty rules' test_meddling_unused (tests.test_parser.tests.test_parser.TestCykCustom_new) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests effect of priority on result ... skipped "Doesn't work for CYK" test_prioritization_sum (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_serialize (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestCykCustom_new) Verify that stack depth isn't an issue for EBNF grammars ... skipped 'Takes forever' test_start (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_strict (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestCykCustom_new) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestCykCustom_new) ... skipped 'No empty rules' test_unicode (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestCykCustom_new) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestCykCustom_new) ... ok test_alias (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_backslash (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'Tree-less mode is not supported in earley' test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_ignore (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_maybe (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestEarleyBasic) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_serialize (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestEarleyBasic) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_strict (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestEarleyBasic) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestEarleyBasic) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestEarleyBasic) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestEarleyBasic) ... ok test_alias (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_backslash (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'Tree-less mode is not supported in earley' test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_ignore (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'match_examples() not supported for CYK/old custom lexer' test_maybe (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_serialize (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_strict (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestEarleyCustom_old0) ... ok test_alias (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_backslash (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'Tree-less mode is not supported in earley' test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_ignore (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_maybe (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_serialize (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_strict (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestEarleyCustom_old1) ... ok test_alias (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_backslash (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'Tree-less mode is not supported in earley' test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests effect of priority on result ... ok test_empty (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_ignore (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests effect of priority on result ... skipped 'basic lexer prioritization differs from dynamic lexer prioritization' test_line_and_column (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_maybe (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestEarleyDynamic) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped "%declare/postlex doesn't work with dynamic" test_postlex_indenter (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped "%declare/postlex doesn't work with dynamic" test_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests effect of priority on result ... ok test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_serialize (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestEarleyDynamic) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_strict (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags_verbose (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestEarleyDynamic) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestEarleyDynamic) ... ok test_alias (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_backslash (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'Tree-less mode is not supported in earley' test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests effect of priority on result ... ok test_empty (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'interactive_parser error handling only works with LALR for now' test_escaped_string (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_ignore (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_iter_parse (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'interactive_parser error handling only works with LALR for now' test_join_regex_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests effect of priority on result ... skipped 'basic lexer prioritization differs from dynamic lexer prioritization' test_line_and_column (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_maybe (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_parse_textslice (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'interactive_parser is only implemented for LALR at the moment' test_postlex_declare (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped "%declare/postlex doesn't work with dynamic" test_postlex_indenter (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped "%declare/postlex doesn't work with dynamic" test_prioritization (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests effect of priority on result ... ok test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_serialize (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'Serialize currently only works for LALR parsers without custom lexers (though it should be easy to extend)' test_special_chars (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_strict (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... skipped 'strict mode is only supported in lalr for now' test_stringio_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags_verbose (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestEarleyDynamic_complete) ... ok test_ambiguity1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Requires dynamic lexer' test_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Requires dynamic lexer' test_ambiguous_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_conditionally_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_unnamed_token (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_symbol_and_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_anon (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_consistent_derivation_order1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles_with_child_filter (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Requires dynamic lexer' test_earley2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley3 (tests.test_parser._make_full_earley_test.._TestFullEarley) Tests prioritization and disambiguation for pseudo-terminals (there should be only one result) ... skipped 'Only relevant for the dynamic_complete parser' test_earley4 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley_explicit_ambiguity (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Requires dynamic lexer' test_earley_repeating_empty (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_explicit_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Only relevant for the dynamic_complete parser' test_fruitflies_ambig (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Requires dynamic lexer' test_many_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_multiple_start_solutions (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_symbol_node_start_end_dynamic_lexer (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'start/end values work differently for the basic lexer' test_term_ambig_resolve (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguity1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_conditionally_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_unnamed_token (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_symbol_and_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_anon (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_consistent_derivation_order1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles_with_child_filter (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley3 (tests.test_parser._make_full_earley_test.._TestFullEarley) Tests prioritization and disambiguation for pseudo-terminals (there should be only one result) ... skipped 'Only relevant for the dynamic_complete parser' test_earley4 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley_explicit_ambiguity (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley_repeating_empty (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_explicit_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... skipped 'Only relevant for the dynamic_complete parser' test_fruitflies_ambig (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_many_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_multiple_start_solutions (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_symbol_node_start_end_dynamic_lexer (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_term_ambig_resolve (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguity1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_conditionally_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_inlined_rule (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_intermediate_node_unnamed_token (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_ambiguous_symbol_and_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_anon (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_consistent_derivation_order1 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycle2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_cycles_with_child_filter (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley3 (tests.test_parser._make_full_earley_test.._TestFullEarley) Tests prioritization and disambiguation for pseudo-terminals (there should be only one result) ... ok test_earley4 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley_explicit_ambiguity (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_earley_repeating_empty (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_explicit_ambiguity2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_fruitflies_ambig (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_many_cycles (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_multiple_start_solutions (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_nested_ambiguous_intermediate_nodes2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_resolve_ambiguity_with_shared_node2 (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_symbol_node_start_end_dynamic_lexer (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_term_ambig_resolve (tests.test_parser._make_full_earley_test.._TestFullEarley) ... ok test_alias_in_terminal (tests.test_grammar.TestGrammar) ... ok test_empty_literal (tests.test_grammar.TestGrammar) ... ok test_errors (tests.test_grammar.TestGrammar) ... ok test_extend_rule (tests.test_grammar.TestGrammar) ... ok test_extend_term (tests.test_grammar.TestGrammar) ... ok test_extend_twice (tests.test_grammar.TestGrammar) ... ok test_find_grammar_errors (tests.test_grammar.TestGrammar) ... ok test_ignore_name (tests.test_grammar.TestGrammar) ... ok test_import_custom_sources (tests.test_grammar.TestGrammar) ... ok test_import_custom_sources2 (tests.test_grammar.TestGrammar) ... ok test_import_custom_sources3 (tests.test_grammar.TestGrammar) ... ok test_inline_with_expand_single (tests.test_grammar.TestGrammar) ... ok test_large_terminal (tests.test_grammar.TestGrammar) ... ok test_line_breaks (tests.test_grammar.TestGrammar) ... ok test_list_grammar_imports (tests.test_grammar.TestGrammar) ... ok test_override_rule (tests.test_grammar.TestGrammar) ... ok test_override_terminal (tests.test_grammar.TestGrammar) ... ok test_ranged_repeat_large (tests.test_grammar.TestGrammar) ... ok test_ranged_repeat_terms (tests.test_grammar.TestGrammar) ... ok test_symbol_eq (tests.test_grammar.TestGrammar) ... ok test_token_multiline_only_works_with_x_flag (tests.test_grammar.TestGrammar) ... ok test_undefined_ignore (tests.test_grammar.TestGrammar) ... ok test_undefined_rule (tests.test_grammar.TestGrammar) ... ok test_undefined_term (tests.test_grammar.TestGrammar) ... ok test_alias (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_backslash (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrBasic) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_escaped_string (tests.test_parser.tests.test_parser.TestLalrBasic) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_ignore (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_iter_parse (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_join_regex_flags (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrBasic) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_maybe (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestLalrBasic) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestLalrBasic) ... skipped 'test on_error only works with lalr' test_parse_textslice (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestLalrBasic) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_postlex_declare (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestLalrBasic) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestLalrBasic) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestLalrBasic) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_serialize (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_special_chars (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestLalrBasic) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_strict (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_stringio_unicode (tests.test_parser.tests.test_parser.TestLalrBasic) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestLalrBasic) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestLalrBasic) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestLalrBasic) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestLalrBasic) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestLalrBasic) ... ok test_alias (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_backslash (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrContextual) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_escaped_string (tests.test_parser.tests.test_parser.TestLalrContextual) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_ignore (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_iter_parse (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_join_regex_flags (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrContextual) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_maybe (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestLalrContextual) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestLalrContextual) ... skipped 'test on_error only works with lalr' test_parse_textslice (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestLalrContextual) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_postlex_declare (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestLalrContextual) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestLalrContextual) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestLalrContextual) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_serialize (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_special_chars (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestLalrContextual) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_strict (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_stringio_unicode (tests.test_parser.tests.test_parser.TestLalrContextual) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags_verbose (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestLalrContextual) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestLalrContextual) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestLalrContextual) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestLalrContextual) ... ok test_alias (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_backslash (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_backslash2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_basic1 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_basic2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_bytes_utf8 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_default_in_treeless_mode (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_dont_expand1_lists_with_multiple_items (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_dont_expand1_lists_with_multiple_items_2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_dynamic_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests effect of priority on result ... skipped 'dynamic lexer prioritization differs from basic lexer prioritization' test_empty (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_empty_end (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_empty_expand1_list (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_empty_expand1_list_2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_empty_flatten_list (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_error_with_interactive_parser (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_escaped_string (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests common.ESCAPED_STRING ... ok test_expand1_lists_with_one_item (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_expand1_lists_with_one_item_2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_float_without_lexer (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_g_regex_flags (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_hex_escape (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_hex_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_ignore (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_import_errors (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_import_rename (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_interactive_treeless_transformer (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_iter_parse (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_join_regex_flags (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_keep_all_tokens (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_lexer_detect_newline_tokens (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_lexer_prioritization (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests effect of priority on result ... ok test_line_and_column (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_line_counting (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_match_examples (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_maybe (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_maybe_placeholders (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_meddling_unused (tests.test_parser.tests.test_parser.TestLalrCustom_new) Unless 'unused' is removed, LALR analysis will fail on reduce-reduce collision ... ok test_multi_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_multi_start (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_on_error_without_lalr (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... skipped 'test on_error only works with lalr' test_parse_textslice (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_parse_textslice_fails (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... skipped 'start_pos and end_pos not compatible with old style custom/dynamic lexer ' test_parser_interactive_parser (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_postlex_declare (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_postlex_indenter (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_prioritization (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests effect of priority on result ... ok test_prioritization_sum (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests effect of priority on result ... skipped 'Currently only Earley supports priority sum in rules' test_priority_vs_embedded (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_ranged_repeat_rules (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_reduce_cycle (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests an edge-condition in the LALR parser, in which a transition state looks exactly like the end state. ... ok test_regex_escaping (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_regex_quote (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_regex_width_fallback (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import_of_nested_grammar (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import_preserves_leading_underscore (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import_rename (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import_rules_dependencies_imported_only_once (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_import_unicode (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_multi_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_rule_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_rule_import_drop_ignore (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_rule_import_rename (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_rule_import_subrule (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_relative_rule_import_subrule_no_conflict (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_rule_collision (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_rule_collision2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_serialize (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_special_chars (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_stack_for_ebnf (tests.test_parser.tests.test_parser.TestLalrCustom_new) Verify that stack depth isn't an issue for EBNF grammars ... ok test_start (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_strict (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_stringio_unicode (tests.test_parser.tests.test_parser.TestLalrCustom_new) Verify that a Lark can be created from file-like objects other than Python's standard 'file' object ... ok test_templates (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_templates_alias (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_templates_import (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_templates_modifiers (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_templates_recursion (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_templates_templates (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_collision (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_collision2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_collision_WS (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_ebnf (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_flags (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_flags2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_flags3 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_flags_collision (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... skipped 'Requires context sensitive terminal selection' test_token_flags_verbose (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_flags_verbose_multiline (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_token_not_anon (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests that "a" is matched as an anonymous token, and not A. ... ok test_twice_empty (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode3 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode4 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode_class (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests that character classes from the `regex` module work correctly. ... ok test_unicode_literal_range_escape (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode_literal_range_escape2 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_unicode_word (tests.test_parser.tests.test_parser.TestLalrCustom_new) Tests that a persistent bug in the `re` module works when `regex` is enabled. ... ok test_utf8 (tests.test_parser.tests.test_parser.TestLalrCustom_new) ... ok test_basic (tests.test_lexer.TestLexer) ... ok test_subset_lex (tests.test_lexer.TestLexer) ... ok test_alias (tests.test_parser.TestParsers) ... ok test_backwards_custom_lexer (tests.test_parser.TestParsers) ... ok test_big_list (tests.test_parser.TestParsers) ... ok test_comment_in_rule_definition (tests.test_parser.TestParsers) ... ok test_custom_input (tests.test_parser.TestParsers) ... ok test_embedded_transformer (tests.test_parser.TestParsers) ... ok test_embedded_transformer_inplace (tests.test_parser.TestParsers) ... ok test_expand1 (tests.test_parser.TestParsers) ... ok test_infinite_recurse (tests.test_parser.TestParsers) ... ok test_lexer_token_limit (tests.test_parser.TestParsers) Python has a stupid limit of 100 groups in a regular expression. Test that we handle this limitation ... ok test_propagate_positions (tests.test_parser.TestParsers) ... ok test_propagate_positions2 (tests.test_parser.TestParsers) ... ok test_same_ast (tests.test_parser.TestParsers) Tests that Earley and LALR parsers produce equal trees ... ok test_vargs_meta (tests.test_parser.TestParsers) ... ok test_vargs_tree (tests.test_parser.TestParsers) ... ok test_visit_tokens (tests.test_parser.TestParsers) ... ok test_visit_tokens2 (tests.test_parser.TestParsers) ... ok test_BIN_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_DEC_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_FLOAT_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_HEX_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_IMAG_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_OCT_NUMBER (tests.test_python_grammar.TestPythonParser) ... ok test_assign_expr_with_variable_named_match (tests.test_python_grammar.TestPythonParser) ... ok test_assign_to_variable_named_match (tests.test_python_grammar.TestPythonParser) ... ok test_invalid_match_statement (tests.test_python_grammar.TestPythonParser) ... ok test_invalid_number (tests.test_python_grammar.TestPythonParser) ... ok test_valid_match_statement (tests.test_python_grammar.TestPythonParser) ... ok test_valid_number (tests.test_python_grammar.TestPythonParser) ... ok test_alias (tests.test_reconstructor.TestReconstructor) ... ok test_expand_rule (tests.test_reconstructor.TestReconstructor) ... ok test_json_example (tests.test_reconstructor.TestReconstructor) ... ok test_keep_all_tokens (tests.test_reconstructor.TestReconstructor) ... ok test_keep_tokens (tests.test_reconstructor.TestReconstructor) ... ok test_starred_group (tests.test_reconstructor.TestReconstructor) ... ok test_starred_rule (tests.test_reconstructor.TestReconstructor) ... ok test_switch_grammar_unicode_terminal (tests.test_reconstructor.TestReconstructor) This test checks that a parse tree built with a grammar containing only ascii characters can be reconstructed ... ok test_contextual (tests.test_tools.TestStandalone) ... ok test_interactive (tests.test_tools.TestStandalone) ... ok test_postlex (tests.test_tools.TestStandalone) ... ok test_simple (tests.test_tools.TestStandalone) ... ok test_transformer (tests.test_tools.TestStandalone) ... ok test_aliases (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_default_ambig (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_default_rule (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_default_token (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_discard (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_handles_ambiguity (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_identity_explicit_ambiguity (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_identity_resolve_ambiguity (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_rule_calls (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_token_calls (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_transformation (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_tree_class (tests.test_tree_forest_transformer.TestTreeForestTransformer) ... ok test_conf_call__same_tree (tests.test_tree_templates.TestTreeTemplatesConf) ... ok test_conf_test_var__is_var (tests.test_tree_templates.TestTreeTemplatesConf) ... ok test_conf_test_var__not_var (tests.test_tree_templates.TestTreeTemplatesConf) ... ok test_template_match__default_conf_match_same_tree__empty_dictionary (tests.test_tree_templates.TestTreeTemplatesConf) ... ok test_template_match__only_tree (tests.test_tree_templates.TestTreeTemplatesConf) This test might become irrelevant in the future ... ok test_template_apply_vars__empty__exception (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_apply_vars__matching_vars__template_replaced (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_apply_vars__no_matching_vars__exception (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__different_tree__none (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__different_tree_no_template__none (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__no_template__empty_dictionary (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__same_tree_no_template__empty_dictionary (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__with_template__empty_dictionary (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_search__same_tree_as_child__empty_generator (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_search__same_tree_no_template__empty_generator (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_search__with_template__matched_result_with_parent_tree (tests.test_tree_templates.TestTreeTemplatesTemplate) ... ok test_template_match__match_same_tree__empty_dictionary (tests.test_tree_templates.TestTreeTemplatesTemplateDefaultConf) ... ok test_translate__empty_translations__same_tree (tests.test_tree_templates.TestTreeTemplatesTemplateTranslator) ... ok test_translate__one_translations__same_tree (tests.test_tree_templates.TestTreeTemplatesTemplateTranslator) ... ok test_copy (tests.test_trees.TestTrees) ... ok test_deepcopy (tests.test_trees.TestTrees) ... ok test_discard (tests.test_trees.TestTrees) ... ok test_eq (tests.test_trees.TestTrees) ... ok test_find_token (tests.test_trees.TestTrees) ... ok test_inline_static (tests.test_trees.TestTrees) ... ok test_interp (tests.test_trees.TestTrees) ... ok test_iter_subtrees (tests.test_trees.TestTrees) ... ok test_iter_subtrees_topdown (tests.test_trees.TestTrees) ... ok test_merge_transformers (tests.test_trees.TestTrees) ... ok test_partial (tests.test_trees.TestTrees) ... ok test_pickle (tests.test_trees.TestTrees) ... ok test_repr_runnable (tests.test_trees.TestTrees) ... ok test_smart_decorator (tests.test_trees.TestTrees) ... ok test_transform_token (tests.test_trees.TestTrees) ... ok test_transformer (tests.test_trees.TestTrees) ... ok test_transformer_variants (tests.test_trees.TestTrees) ... ok test_vargs (tests.test_trees.TestTrees) ... ok test_vargs_override (tests.test_trees.TestTrees) ... ok test_vargs_set_name (tests.test_trees.TestTrees) ... ok test_visitor (tests.test_trees.TestTrees) ... ok test_debug (tests.test_logger.Testlogger) ... ok test_loglevel_higher (tests.test_logger.Testlogger) ... ok test_no_regex_collision (tests.test_logger.Testlogger) ... skipped "interegular is not installed, can't test regex collisions" test_non_debug (tests.test_logger.Testlogger) ... ok test_regex_collision (tests.test_logger.Testlogger) ... skipped "interegular is not installed, can't test regex collisions" ---------------------------------------------------------------------- Ran 1245 tests OK (skipped=126) py$(PYV): OK congratulations :)