summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
Commit message (Collapse)AuthorAgeFilesLines
* Refactor common test infrastructure for fiddling sys.path and finding filesNed Batchelder2017-05-041-7/+4
|
* Describe and relabel a test that has nothing to do with fail-under.Ned Batchelder2017-03-041-2/+6
|
* Fix some coverage pragmasNed Batchelder2017-02-071-1/+1
|
* Get rid of some unused code pathsNed Batchelder2017-01-201-1/+1
|
* Cover a few edge cases in phystokens.pyNed Batchelder2016-11-281-12/+27
|
* Add a test for tokenizing code without a final newlineNed Batchelder2016-11-221-18/+20
|
* A fix for coding declarations, bug #529Ned Batchelder2016-11-051-0/+58
|
* Use standard skipTest, which unittest-mixins will override.Ned Batchelder2016-06-121-1/+1
|
* Fix a string that was confusing vimNed Batchelder2016-01-091-1/+3
|
* Add a missing docstringNed Batchelder2015-12-241-0/+1
|
* Finish up Max Linke's fix for double encoding declarations. Fixes #453Ned Batchelder2015-12-241-13/+21
|
* Add a failing test of double coding declarations, for #453Ned Batchelder2015-12-241-2/+9
|
* Another edge case of encoding detection. #443Ned Batchelder2015-11-141-5/+13
|
* Do a better job decoding source files. #431Ned Batchelder2015-10-161-1/+11
|
* Fix a few more occurrences of 'Coverage' to 'coverage.py'Ned Batchelder2015-07-271-1/+1
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-1/+4
|
* Add more contractsNed Batchelder2015-06-161-5/+4
|
* All Python source is Unicode internally.Ned Batchelder2015-05-171-9/+32
| | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration).
* Fully embrace SkipTest with our own method.Ned Batchelder2015-02-071-3/+1
| | | | | Also, no test is conditionally defined. They call self.skip if they should be skippped.
* Make some test setup more uniformNed Batchelder2015-01-181-2/+2
|
* Collect all the nudgy environment checks into coverage.envNed Batchelder2015-01-181-8/+8
|
* Make source_encoding stricter about its arguments, and test it everywhereNed Batchelder2014-12-281-48/+61
|
* Source is always Unicode in HTML code. More refactoring to come.Ned Batchelder2014-12-121-0/+2
|
* Try out pylint spelling. Kinda noisy, but fixed some stuff.Ned Batchelder2014-11-271-1/+1
|
* Use with-open everywhereNed Batchelder2014-10-261-1/+3
|
* Merged in asottile/coverage.py/fix_source_encoding (pull request #38)Ned Batchelder2014-07-051-0/+5
| | | | Fix non-comment encoding detection.
* Use assertRaises as a context manager now that we can.Ned Batchelder2013-12-211-1/+2
|
* Generator expressons are ok now.Ned Batchelder2013-10-191-1/+1
|
* We only run on 2.6, 2.7, 3.2, 3.3 now.Ned Batchelder2013-10-191-7/+2
|
* Make everything work on py2.3 again (for the last time).Ned Batchelder2013-10-051-1/+1
|
* Improve and more fully test the first-blank-line decoding fix. Thanks, ↵Ned Batchelder2013-09-161-13/+46
| | | | Roger Hu.
* Make UTF-8 detection more robust.Roger Hu2013-05-251-1/+15
| | | | | If the 1st line of the Python is blank/empty, the function assumes that the encoding is 'ascii' and doesn't try for the 2nd line.
* Directory changed: test->tests. Adapt.Ned Batchelder2013-02-021-1/+1
|
* Move the test directory to tests to avoid conflicts with the stdlib test ↵Ned Batchelder2013-02-021-0/+79
package.