summaryrefslogtreecommitdiff
path: root/tests/test_tokenize.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of UNION ALL (fixes #294).Andi Albrecht2016-09-261-0/+6
|
* Fix parsing of names containing special chars (fixes 291).Andi Albrecht2016-09-141-0/+14
|
* Avoid double apostrophesOleg Broytman2016-08-061-0/+6
| | | | | | | | If the value is Single it's already quoted with apostrophes. Avoid double apostrophes it that case by using double-quotes instead. For example, if the value is 'value' the output is "'value'" instead of ''value''.
* Parametrize testsVictor Uriarte2016-06-201-24/+7
| | | | | | Allows for tests to continue if the first assert had failed. In particular useful when certain change is dealing with two almost opposing edge cases.
* Remove some test classes and clean-upVictor Uriarte2016-06-201-139/+143
|
* Replace other UnitTest with Py.TestVictor Uriarte2016-06-201-58/+62
|
* Replace ndiffAssertEqual with Py.TestVictor Uriarte2016-06-201-3/+0
|
* Change argument order to match order of all other functionsVictor Uriarte2016-06-141-7/+5
|
* Merge remote-tracking branch 'core/long_live_indexes' into developVictor Uriarte2016-06-141-3/+3
|\
* | Remove token_first; its redundant to token_next(idx=0)Victor Uriarte2016-06-121-3/+3
| |
* | Apply new-style str formatVictor Uriarte2016-06-111-1/+1
| |
* | Allow tokenlists to skip over commentsVictor Uriarte2016-06-041-1/+1
| | | | | | | | Rename ignore_cm to skip_cm for consistency
* | Update test to current lexer functionsVictor Uriarte2016-06-041-9/+4
| |
* | Remove undocumented ws handlers from lexer.pyVictor Uriarte2016-05-291-7/+0
|/ | | | | Removing nl before tokenizing breaks comments (stripnl/stripall) Remove tab-expansion.
* Code cleanup in tests.Andi Albrecht2015-10-261-27/+27
|
* Fix tab expansion for Python 3.Andi Albrecht2015-10-261-2/+0
|
* Use compat module for single Python 2/3 code base.Andi Albrecht2015-10-261-4/+1
| | | | This change includes minor fixes and code cleanup too.
* Add test case for JOIN, update Changelog and AUTHORS.Andi Albrecht2013-10-241-5/+6
|
* Allow whitespaces in certain keywords (fixes #97).Andi Albrecht2013-06-171-0/+26
|
* Python 3 is now fully supported without any patches.Andi Albrecht2012-12-311-1/+6
| | | | | | | | | This change makes the extras/py3k stuff obsolete and installing for Python 3 is as easy as "python3 setup.py install". setup.py uses distribute's use_2to3 flag to automatically run 2to3 when Python 3 is used. \o/ Happy New Year, everyone!
* PEP8'ified to code a bit.Andi Albrecht2012-11-121-30/+31
|
* We can now work with file-like objects.quest2012-04-211-0/+39
|
* Fixed lexer to accept negative numbers (fixes issue56).Kevin Jing Qiu2012-01-101-0/+6
|
* Fix incorrect detection of keyword fragments in names (fixes issue7, ↵Andi Albrecht2009-06-241-0/+21
| | | | reported and initial patch by andyboyko).
* * Python and PHP output filter now add a trailing whitespace.Andi Albrecht2009-05-061-0/+5
| | | | * More test coverage.
* Code cleanup and test coverage.Andi Albrecht2009-05-061-0/+46
|
* Added unittest for issue1 (linebreaks).Andi Albrecht2009-05-031-0/+14
|
* Recognize backticks quoting identifiers.Andi Albrecht2009-04-291-0/+5
|
* Initial import.Andi Albrecht2009-04-031-0/+21