summaryrefslogtreecommitdiff
path: root/src/unitTests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* More internal expression naming, in internal elements of infixNotationPaul McGuire2016-01-011-1/+11
|
* Added expression names for many internal and builtin expressions, to reduce ↵Paul McGuire2015-12-311-11/+55
| | | | name and error message overhead during parsing
* Cleaned up additional issues from enhancing the error messages for Or and ↵Paul McGuire2015-11-251-0/+13
| | | | MatchFirst, handling Unicode values in expressions. Fixes Unicode encoding issues in Python 2.
* Forgot to add new unit test to main test suitePaul McGuire2015-11-101-0/+1
|
* Fix bug in Each when containing an Optional that has a results name or parse ↵Paul McGuire2015-11-101-1/+9
| | | | action
* Fixed a bug in Or, when a parse action on an alternative raises an exceptionPaul McGuire2015-11-041-1/+32
|
* Fixed bug in Each with multiple Optionals; added parseAll and output cleanup ↵Paul McGuire2015-10-311-1/+17
| | | | to runTests; improved exception messages for MatchFirst and Or exceptions.
* (#($&(#& print statements in runTests broke Py3 compatibility!Paul McGuire2015-10-291-1/+1
|
* Restore unit tests to perform all testsPaul McGuire2015-10-241-2/+2
|
* Added withClass helper method, a simplified version of withAttribute forPaul McGuire2015-10-241-12/+20
| | | | the common but annoying case when defining a filter on a div's class - made difficult because 'class' is a Python reserved word.
* Adopt new-fangled Python features, like decorators and ternary expressions, ↵Paul McGuire2015-09-131-2/+2
| | | | per suggestions from Williamzjc - thanks William! (Oh yeah, I'm not supporting Python 2.3 with this code any more...)
* Add ParserElement.addCondition, to simplify creation of parse actions that ↵Paul McGuire2015-07-281-3/+18
| | | | are purely filters.
* - update to srange to accept unicode literals in the input StringEndPaul McGuire2015-03-251-4/+7
| | | - enhanced version of replaceWith
* Fixed Bug #73, errors introduced to ParseResults.pop method after ↵Paul McGuire2014-05-071-3/+39
| | | | improvements were made in last release
* Fixed escaping behavior in QuotedString. Formerly, only quotationPaul McGuire2014-04-291-7/+10
| | | | | marks (or characters designated as quotation marks in the QuotedString constructor) would be escaped. Now all escaped characters will be escaped, and the escaping backslashes will be removed.
* Added docstrings for new methods; added ending location for locatedExprPaul McGuire2014-04-131-1/+15
|
* Fixed markInputline bug; reverted some <<= to << changes to avoid ↵Paul McGuire2014-04-091-1/+21
| | | | local/nonlocal reference problems
* Cleanup unit tests for cross 2.x/3.x Python compatibilityPaul McGuire2013-09-211-199/+220
|
* Update unit tests to Python 3Paul McGuire2012-11-231-239/+253
|
* Create standard SVN structurePaul McGuire2012-10-011-0/+2375