summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-155-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The node.id is set to False, True or None is python-2.7: there is no reason to only check for it with python-3. It is more reliable than using the DEFAULT_PARTIAL_ALWAYS regexps on source lines. close #502 --HG-- branch : issue-502-7
* | | Bug #496 wasn't about the single-line continue, just the constant while.Ned Batchelder2016-12-181-3/+4
| | |
* | | Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-0/+16
| | |
* | | Clean up #493 fixNed Batchelder2016-12-181-24/+9
| | |
* | | Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-0/+18
|\ \ \ | | | | | | | | | | | | finally happens before return in a try #493
| * | | finally happens before return in a try #493loic@dachary.org2016-12-181-0/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a try block such as: if expr: try: return finally print pass the print happens before the return and cannot be followed by pass. The general case is that when the body/else/handlers in a try block all have return, break etc., the code behind finally: has no arc to the statement following the try block. close #493 --HG-- branch : issue-493-2
* | | Add a "make smoke" target for a quick test run.Ned Batchelder2016-12-181-0/+3
| | |
* | | Provide a more useful error message if failing to run a non-Python file. #514Ned Batchelder2016-12-171-0/+19
| | |
* | | --source and --include are mutually exclusive #265loic@dachary.org2016-12-162-3/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sanity_check function to CoverageConfig to perform sanity checks after configuration values have been collected from files, arguments etc. Raise an error if --source and --include are both set. The config tests are amended because some of them have both source and include set. Based on the original patch from Nathan Land close #265 --HG-- branch : issue-265 extra : amend_source : 2c0e1173285d07174bc632fb3a8df437201607a6
* | Give this variable a more descriptive nameNed Batchelder2016-12-141-8/+8
| |
* | report must ignore skipped files #524loic@dachary.org2016-12-121-4/+25
| | | | | | | | | | | | | | | | | | When files are 100% covered and --skipped-covered is specified, they must not be taken into account to format the text report. It is specially useful when a long filename is skipped. --HG-- branch : issue-524-2
* | Prevent UnicodeErrors in HTML reports with Unicode configuration valuesNed Batchelder2016-12-061-0/+7
| |
* | Oh 2.6, you get me every timeNed Batchelder2016-12-061-1/+1
| |
* | A better way to find the pth directoryNed Batchelder2016-12-061-14/+18
| |
* | Remove the filelock experimentNed Batchelder2016-12-061-8/+4
| |
* | Need to clean up in the right orderNed Batchelder2016-12-041-1/+2
| |
* | Quick hack to try avoiding stepping on each others' pth filesNed Batchelder2016-12-041-12/+24
| |
* | Test excluded lines in the html reportNed Batchelder2016-11-303-4/+18
| |
* | A test of status.json having the wrong formatNed Batchelder2016-11-291-0/+22
|/
* More-accurate pragmasNed Batchelder2016-11-291-2/+2
|
* Cover a few edge cases in phystokens.pyNed Batchelder2016-11-281-12/+27
|
* Async protocol changed in 3.5.2. Remove a deprecation warningNed Batchelder2016-11-271-1/+1
|
* Fix two problems with xdist'ed testsNed Batchelder2016-11-262-2/+5
|
* Enable pytest warnings, and fix/silence a fewNed Batchelder2016-11-262-3/+3
|
* Avoid yielding test cases so pytest is happy.Ned Batchelder2016-11-231-15/+17
|
* Use a 2/3 name for unicodeNed Batchelder2016-11-231-1/+2
|
* Add a test for tokenizing code without a final newlineNed Batchelder2016-11-221-18/+20
|
* Was using the wrong pragmaNed Batchelder2016-11-221-1/+1
|
* Keep 2.6 workingNed Batchelder2016-11-201-1/+1
|
* No more nose, use pytest as test runnerNed Batchelder2016-11-202-11/+11
|
* Make sure that an uninterested setup.cfg doesn't prevent tox.ini from workingNed Batchelder2016-11-191-0/+9
|
* Tweak test helper names and docstringsNed Batchelder2016-11-191-17/+16
|
* Put this test back, it was failing when trying to check both setup.cfg and ↵Ned Batchelder2016-11-191-9/+7
| | | | tox.ini
* Clean up line wraps and leftover printsNed Batchelder2016-11-191-6/+3
|
* Read options from tox.iniStephen Finucane2016-11-181-18/+59
| | | | | | | | | | | | | | | | If coveragerc does not exist, setup.cfg does not exist or does not contain any coverage-related metadata, and no custom config file is provided, fall back to tox.ini. The syntax of tox.ini files is the same as that expected of setup.cfg files, namely: [coverage:{section}] Fixes: #519 --HG-- branch : issue-519
* Python 3.3 fails on the LANG=C test. Skip it.Ned Batchelder2016-11-171-0/+3
|
* Run test in a 2.6-compatible wayNed Batchelder2016-11-171-1/+1
|
* Don't collapse in an ascii-only file-world. #533Ned Batchelder2016-11-172-10/+17
|
* Add a test for #533Ned Batchelder2016-11-171-0/+10
|
* When importing newly made files, we have to invalidate import cachesNed Batchelder2016-11-091-0/+3
|
* A fix for coding declarations, bug #529Ned Batchelder2016-11-051-0/+58
|
* Optionally use pytest as the test runnerNed Batchelder2016-11-011-1/+2
|
* Oh, i had tests for those messages...Ned Batchelder2016-10-211-3/+1
|
* Test the debug settings more, and strip spaces from the environment variableNed Batchelder2016-10-211-0/+11
|
* Explicitly test multiple wildcards in path aliasesNed Batchelder2016-10-121-0/+9
|
* Pids can be fewer than 5 digitsNed Batchelder2016-09-241-2/+2
|
* Change the debug=callers test to something that will be coverableNed Batchelder2016-09-241-12/+15
|
* Clean up and test the callers debugging infoNed Batchelder2016-09-241-0/+13
|
* Test short_stack, and give it a skip parameter for better output.Ned Batchelder2016-09-241-1/+36
|
* Add more debugging for thorny multiprocessing issuesNed Batchelder2016-09-231-1/+3
|