pyparsing v4.6 Release Notes
Release Date: 2019-12-25 // over 4 years ago-
๐ Version 2.4.6 - December, 2019
๐ Fixed typos in White mapping of whitespace characters, to use
correct "\u" prefix instead of "u".๐ Fix bug in left-associative ternary operators defined using
infixNotation. First reported on StackOverflow by user Jeronimo.โ Backport of pyparsing_test namespace from 3.0.0, including
โ TestParseResultsAsserts mixin class defining unittest-helper
methods:
๐ . def assertParseResultsEquals(
self, result, expected_list=None, expected_dict=None, msg=None)
๐ . def assertParseAndCheckList(
self, expr, test_string, expected_list, msg=None, verbose=True)
๐ . def assertParseAndCheckDict(
self, expr, test_string, expected_dict, msg=None, verbose=True)
โ . def assertRunTestResults(
โ self, run_tests_report, expected_parse_results=None, msg=None)
๐ . def assertRaisesParseException(self, exc_type=ParseException, msg=None)โ To use the methods in this mixin class, declare your unittest classes as:
โ from pyparsing import pyparsing_test as ppt
โ class MyParserTest(ppt.TestParseResultsAsserts, unittest.TestCase):
...