summaryrefslogtreecommitdiff
path: root/pyparsing/testing.py
Commit message (Collapse)AuthorAgeFilesLines
* Add type annotationsptmcg2022-07-141-5/+7
|
* Convert most str.format() calls to use f-stringsptmcg2022-05-301-7/+4
|
* More added type annotations; reworked Word.__init__ so that excludeChars ↵ptmcg2022-05-291-0/+1
| | | | exclusion code is clearer
* Reworked mypy typing, removed definitions of OptionalType, DictType, and ↵ptmcg2022-04-111-5/+5
| | | | IterableType
* Update version to prep for next release (and black)ptmcg2021-10-281-4/+6
|
* Added header column labeling > 100 in `with_line_numbers`ptmcg2021-10-271-1/+12
|
* blackeningptmcg2021-10-241-1/+1
|
* with_line_numbers enhancements: better display of separate lines in Unicode ↵ptmcg2021-10-231-4/+9
| | | | mode; configurable eol_mark character
* Enhanced args to with_line_numbersptmcg2021-10-221-2/+36
|
* Clean up bullet lists in docstringsptmcg2021-10-021-6/+6
|
* Blacken and update version timeptmcg2021-09-251-1/+1
|
* Added start_line and end_line args to with_line_numbers, and more docstringptmcg2021-09-251-13/+18
|
* Added start and end args to with_line_numbers, and more docstringptmcg2021-09-251-4/+24
|
* Added with_line_numbers method to pyparsing_testingptmcg2021-09-251-0/+24
|
* Sweep code for calls using legacy namesptmcg2021-08-081-6/+6
|
* Update __versionTime__; blacken core code and examplesptmcg2021-08-011-2/+6
|
* renamed bounded to left recursionMax Fischer2021-06-211-2/+2
|
* basic LR unit testMax Fischer2021-06-201-0/+3
|
* Fixed traceback trimming, and added ParserElement.verbose_traceback ↵Paul McGuire2020-06-281-0/+4
| | | | save/restore to reset_pyparsing_context()
* Fix bug when using pyparsing_testing.reset_pyparsing_context as a context ↵Paul McGuire2020-06-271-1/+1
| | | | manager, suppressing raised exceptions
* Blackeningptmcg2020-06-261-1/+3
|
* Restructure unit tests to do proper testing with and without packrat enabledptmcg2020-06-261-2/+25
|
* Convert internal imports to relative imports, to support projects that ↵ptmcg2020-05-131-1/+1
| | | | vendor pyparsing
* Docstring formatting changes (#197)Matt Carmody2020-03-291-9/+10
| | | | | | | * Tidy docstring formatting for lists and example codeblock * Add class references and formatting to docstrings * Experimental docstring formatting changes
* Don't import unittest in testing.py (#196)Daniel Wagner-Hall2020-03-241-1/+0
| | | | | | | | | This import is currently unused in the file. I'm looking at optimising start-up times of a project I work on, and importing pyparsing currently takes about 82ms, which is quite a lot for my domain. Just not importing `unittest` shaves 14ms off of that import time.
* Rollforward infixNotation ternary op fix from 2.4.6 branch, plus related ↵ptmcg2020-01-041-2/+6
| | | | unit test; change TestParseResultsAsserts to mixin instead of subclass; rollforward 2.4.6 CHANGES blurb from 2.4.6 branch
* Break up pyparsing.py monolith into sub-modules in a pyparsing package (#162)Paul McGuire2019-11-181-0/+190
* Break up pyparsing.py monolith into sub-modules in a pyparsing package * Convert relative imports to absolutes * Reference submodule pyparsing in setup.py modules * Remove recursive import of pyparsing from setup.py * Black updates * setup.py updates - packages vs. modules. use .dev1 for the version