summaryrefslogtreecommitdiff
path: root/tests/test_phystokens.py
Commit message (Collapse)AuthorAgeFilesLines
* style: remove needless trailing commasNed Batchelder2023-01-261-1/+1
|
* mypy: test_parser.py test_phystokens.py test_process.py test_report.py ↵Ned Batchelder2023-01-071-17/+17
| | | | test_results.py test_setup.py
* style: fix spellingNed Batchelder2022-11-281-1/+1
| | | | un-executed, white space, time stamp.
* refactor: no need for special handling of compiling unicode sourceNed Batchelder2022-11-061-114/+1
| | | | This was a holdover from Python 2 days.
* refactor(test): use xfail for tests that fail on specific versions of PythonNed Batchelder2022-01-191-2/+0
|
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-2/+2
|
* test: fix the trailing-space test, and suppress warnings about \<space>Ned Batchelder2021-10-301-10/+13
|
* refactor(test): make re_lines (et al) look like re.searchNed Batchelder2021-10-281-3/+2
| | | | and also replace some calls with just-plain re.search.
* fix(debug): ast_dump failed on a few thingsNed Batchelder2021-10-271-0/+6
|
* feat: soft keywords are shown in bold in the HTML reportNed Batchelder2021-06-061-0/+36
| | | | | | | | The match and case soft keywords are shown in bold when they are keywords, and not when they are not. The underscore soft keyword is ignored, because it is harder to get right, and because it doesn't look that much different in bold anyway.
* refactor: remove a few more version checksNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-10/+10
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-4/+1
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-4/+2
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-6/+2
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+2
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-26/+23
| | | | One step of moving to pure pytest tests.
* Update pylintNed Batchelder2020-05-191-1/+1
|
* Adjust other env.PYPY tests to the latest wayNed Batchelder2019-12-311-1/+1
|
* Fix unusual backslash token issue. #822Ned Batchelder2019-08-101-0/+10
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* 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
|
* Fix non-comment encoding detection.Anthony Sottile2014-06-291-0/+5
| | | | | --HG-- branch : fix_source_encoding
* 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
| | | | | --HG-- branch : 4.0
* We only run on 2.6, 2.7, 3.2, 3.3 now.Ned Batchelder2013-10-191-7/+2
| | | | | --HG-- branch : 4.0