summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix test bugsptmcg2021-08-201-9/+11
|
* Add identchars and identbodychars symbols to make it easier to construct ↵ptmcg2021-08-191-0/+47
| | | | identifiers
* Fix f-string 3.6 compat bug in test_unit.py; rename __versionTime__ to ↵ptmcg2021-08-161-3/+5
| | | | __version_time__; code cleanups
* Additional unit tests for IndentedBlock, with bad indented code and indented ↵ptmcg2021-08-151-0/+25
| | | | code that skips unindent levels
* Fixed bug in QuotedString class when the escaped quote string is not a ↵Paul McGuire2021-08-151-21/+32
| | | | repeated character; reworked regex construction in QuotedString class (Issue #263)
* Fix bug in Located class when used with a results name. (Issue #294)ptmcg2021-08-141-0/+18
|
* It is to blackptmcg2021-08-141-5/+15
|
* Fix unit test that enables/disables memoization, to not interfere with ↵ptmcg2021-08-141-1/+26
| | | | test-level settings; add flag to enable verbose tracebacks for unit testing
* Add support for Suppress(...) to suppress the skipped textptmcg2021-08-121-29/+38
|
* More informative exception messagesptmcg2021-08-091-9/+9
|
* Sweep code for calls using legacy namesptmcg2021-08-081-43/+43
|
* Add PEP-8 naming, with compatibility synonymsptmcg2021-08-072-2/+3
|
* Minor code cleanupsptmcg2021-08-072-56/+69
|
* Renumber test classesptmcg2021-08-011-21/+21
|
* Disable SQL parse test when running with LR enabled (SQL parser uses packrat)ptmcg2021-07-301-6/+10
|
* Merge branch 'feature/left_recurse_Medeiros_etal'ptmcg2021-07-301-20/+215
|\
| * left recursion memo size may be limitedMax Fischer2021-06-281-2/+24
| |
| * testing memo switchesMax Fischer2021-06-281-11/+16
| |
| * properly setting names in testsMax Fischer2021-06-271-12/+12
| |
| * cleanupMax Fischer2021-06-261-17/+17
| |
| * adjusted example with ambiguous failure caseMax Fischer2021-06-231-1/+1
| |
| * explicitly testing tests for LR compatibilityMax Fischer2021-06-221-9/+7
| |
| * naive test for existing suiteMax Fischer2021-06-221-0/+20
| |
| * renamed bounded to left recursionMax Fischer2021-06-211-1/+1
| |
| * added tests for repetition rulesMax Fischer2021-06-211-0/+27
| |
| * added base case to unittestMax Fischer2021-06-201-3/+3
| |
| * fixed test typosMax Fischer2021-06-201-2/+2
| |
| * unittest for empty and non-peg clausesMax Fischer2021-06-201-0/+15
| |
| * fixed test typoMax Fischer2021-06-201-1/+1
| |
| * added math exampleMax Fischer2021-06-201-0/+46
| |
| * tests for associativity and nestingMax Fischer2021-06-201-1/+33
| |
| * basic LR unit testMax Fischer2021-06-201-0/+30
| |
* | Add allowTrailingDelim to delimitedList helper (#285)Kazantcev Andrey2021-07-291-0/+14
|/ | | Merge pull request #285 - Add allowTrailingDelim to delimitedList helper
* Fix misc. documentation typos (#280)luzpaz2021-05-142-5/+5
| | | Found via `codespell -q 3 -L ba,fourty,halp,inout,strng`
* Deprecate `locatedExpr` in favor of new `Located` classptmcg2020-12-241-6/+49
|
* Add IndentedBlock class; made vertical keyword arg more visible when ↵pyparsing_3.0.0b1ptmcg2020-11-021-15/+64
| | | | creating railroad diags; changed create_diagram from monkeypatch to included method on ParserElement; better debug exception if Dict is constructed with non-Group expression
* ParseResults.List class to support returning an actual list from a parse ↵ptmcg2020-10-242-536/+405
| | | | action, plus aslist and asdict args to Group and Dict classes to emit native Python types instead of ParseResults; also update repr() output of ParseResults to include the type name instead of just a bare tuple.
* Issue #244, fixed debug output to indicate correct parse location; updated ↵Paul McGuire2020-10-111-8/+72
| | | | setDebug output to include current text line and parse location
* Fixed bugs in Each with ZeroOrMore and OneOrMore (first matched element ↵ptmcg2020-10-111-0/+35
| | | | enclosed in extra nesting level; results names not maintained; did not handle mix with required expressions)
* Convert SyntaxWarnings to ValueError and TypeError exceptions; change ↵Paul McGuire2020-08-191-430/+311
| | | | diagnostics to an enum, and add enable_diag(), disable_diag() and enable_all_warnings() methods; clean up pyparsing imports in test_unit.py
* Add '*' markers to debug output to indicate cached parse expression ↵ptmcg2020-08-181-7/+80
| | | | try/pass/fail events (which were previously omitted from debugging output)
* Remove identChars override from Keyword.copy (#233)jgrey42962020-08-161-0/+5
|
* Better display of single-character WordsPaul McGuire2020-07-301-0/+4
|
* Add size spec to default Word repr outputPaul McGuire2020-07-301-12/+28
|
* Docstrings cleanup; add 'encoding' argument to parseFile; additional unit ↵ptmcg2020-07-081-0/+48
| | | | tests to improve ParseResults coverage
* infixNotation unit tests to address missing coverage and features; rename ↵ptmcg2020-07-071-4/+50
| | | | infixNotation tests to meaningful names
* Fixed traceback trimming, and added ParserElement.verbose_traceback ↵Paul McGuire2020-06-281-0/+2
| | | | save/restore to reset_pyparsing_context()
* Additional unit testspyparsing_3.0.0a2Paul McGuire2020-06-271-5/+91
|
* Assert packrat not enabled in base test case; log packrat status and cache ↵Paul McGuire2020-06-271-0/+22
| | | | type in all cases
* Blacken test_examples.pyptmcg2020-06-271-1/+1
|