| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
statements; remove dead ParseTest class; cleanup testSkipToParserTests test using assertRaisesParseException; fix parsers in pickle compatibility tests, and remove PickleTest_Greeting class as ParseResults wrapper; change test classes created using type() with more explicit class definitions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add black git hook
* test change
* test instructions, fix instructions
* spelling
* make tox and pre-commit agree on line length
* start guessing what the line length parameter really is
* 80 char line length
* 88?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add unit test for pop with invalid named arg
* Add unit test for setParseAction() with uncallable arg
* Add unit test for __mul__ with negative number
* Add unit test for __mul__ with Ellipsis
* Add unit tests for matchOnlyAtCol
* Add unit tests for convertToDate and converToDatetime
* blacken the new tests
* Add unit test for assertParseAndCheckDict
* Update with feedback from ptmcg
Removed unnecessary imports
Replaced exception prints with ptmcg's assertRaises override
* blacken updates
* Update tests with additional feedback
Change assertRaises(ParseException) to assertRaisesParseException()
Return exception in overrided assertRaises
|
| |
|
| |
|
| |
|
|
|
|
| |
doing `fwd << a | b`; fixed potential FutureWarning when including unescaped '[' in a regex range definition.
|
| |
|
|
|
|
| |
unit test; change TestParseResultsAsserts to mixin instead of subclass; rollforward 2.4.6 CHANGES blurb from 2.4.6 branch
|
|
|
|
| |
minor changes to select_parser
|
| |
|
|
|
|
|
| |
Available since Python 2.4.
https://docs.python.org/3/library/functions.html#classmethod
|
|
|
|
|
| |
Available since Python 2.4.
https://docs.python.org/3/library/functions.html#staticmethod
|
| |
|
|
|
|
| |
replace most resetting() context managers and try-finallys with ppt.reset_pyparsing_context
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pyupgrade project is available at
https://github.com/asottile/pyupgrade and can be installed through pip.
The pyupgrade tool automatically upgrades syntax for newer versions of
the language. As pyparsing is now Python 3 only, can apply some cleanups
and simplifications. Ran the tool using the following command:
$ find . -name \*.py -exec pyupgrade --py3-plus {} \;
For now, pyparsing.py was skipped while it is refactored to a package.
|
|
|