summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't stress over PyPy differences, and fix file namesNed Batchelder2016-12-261-9/+13
|
* Make excepthook execution more accurate. Pypy tests failingNed Batchelder2016-12-261-2/+5
|
* Put the excepthook tests in their own class for convenienceNed Batchelder2016-12-261-1/+4
|
* Merged in andrewhoos/coverage.py (pull request #93)Ned Batchelder2016-12-261-0/+60
|\ | | | | | | Explicitely call sys.excepthook
| * Update change with tests and fixes for testsAndrew Hoos2016-11-301-0/+60
| |
* | No need for subprocesses to test HTML reportingNed Batchelder2016-12-241-8/+6
| |
* | Merged in dachary/coverage.py/issue-433-2 (pull request #112)Ned Batchelder2016-12-242-1/+37
|\ \ | | | | | | | | | implement --skip-covered for html report #433
| * | html report --skip-covered with branches #433loic@dachary.org2016-12-191-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test because the code path is significantly different. Also document --skip-covered with the coverage html command. close #433 --HG-- branch : issue-433-2
| * | implement --skip-covered for html report #433loic@dachary.org2016-12-182-1/+19
| | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2
* | | 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-11/+5
| | |
* | | Provide some help in interpreting test failuresNed Batchelder2016-12-241-3/+3
| | |
* | | Move the test program into the testNed Batchelder2016-12-245-16/+15
| | |
* | | 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
|