summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't warn about trace=None on PyPy at shutdownNed Batchelder2016-12-301-3/+12
| | | | | | | | | | | | | | | | PyPy clears the trace function before calling atexit functions. So when we check if the trace function is changed, don't warn in that specific case. --HG-- extra : amend_source : a4e946f94b9b84d351a9e112a7eea6a3337bacf1
* | Improved ad-hoc debug logger.Ned Batchelder2016-12-301-1/+12
| |
* | Prevent a hard crash when starting coverage thousands of timesNed Batchelder2016-12-291-0/+1
| |
* | Bump version to 4.3.2a0Ned Batchelder2016-12-281-1/+1
| |
* | Gearing up for 4.3.1coverage-4.3.1Ned Batchelder2016-12-281-1/+1
| |
* | Revert the check for conflicting --source and --include. Closes #541, ↵Ned Batchelder2016-12-281-0/+3
| | | | | | | | re-opens #265
* | Push version to 4.3.1a0Ned Batchelder2016-12-271-1/+1
| |
* | A better way to get good random numberscoverage-4.3Ned Batchelder2016-12-271-4/+1
| |
* | Windows Python 3.6 doesn't seed well. Hack around it.Ned Batchelder2016-12-271-0/+3
| |
* | Doc updates for 4.3Ned Batchelder2016-12-261-1/+1
| |
* | Suppress the coverage.py frame when reporting exceptionsNed Batchelder2016-12-261-0/+2
| |
* | Make excepthook execution more accurate. Pypy tests failingNed Batchelder2016-12-261-4/+12
| |
* | Merged in andrewhoos/coverage.py (pull request #93)Ned Batchelder2016-12-261-1/+11
|\ \ | | | | | | | | | Explicitely call sys.excepthook
| * | Update change with tests and fixes for testsAndrew Hoos2016-11-301-8/+9
| | |
| * | Remove the unused importAndrew Hoos2016-11-291-1/+0
| | |
| * | Limit changes to only execfile.pyAndrew Hoos2016-11-292-2/+4
| | |
| * | Update code to better handle calling sys.excepthook when it throwsAndrew Hoos2016-11-292-5/+9
| | |
| * | Update handling of sys.excepthook to only call custom excepthooks and ↵Andrew Hoos2016-11-291-1/+6
| | | | | | | | | | | | re-raise exceptions
| * | Explicitely call sys.excepthookAndrew Hoos2016-11-291-2/+1
| | | | | | | | | | | | https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called
* | | control.Coverage._init: check "source" is a directory, not just it exists; ↵Cosimo Lupo2016-12-251-1/+1
| | | | | | | | | | | | | | | | | | | | | there could be a file with that name --HG-- branch : check-source-isdir
* | | Merged in dachary/coverage.py/issue-433-2 (pull request #112)Ned Batchelder2016-12-243-5/+14
|\ \ \ | | | | | | | | | | | | implement --skip-covered for html report #433
| * | | implement --skip-covered for html report #433loic@dachary.org2016-12-183-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2
* | | | 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-2/+1
| | | |
* | | | Move the test program into the testNed Batchelder2016-12-241-1/+1
| | | |
* | | | also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-1/+1
| | | |
* | | | More parser code clean-upNed Batchelder2016-12-181-14/+25
| | | |
* | | | Clean up #493 fixNed Batchelder2016-12-181-0/+2
| | | |
* | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-5/+7
|\ \ \ \ | | | | | | | | | | | | | | | finally happens before return in a try #493
| * | | | finally happens before return in a try #493loic@dachary.org2016-12-181-5/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | More ast parsing clean-up.Ned Batchelder2016-12-181-8/+19
| | | |
* | | | More doc and cleanup of ast parsingNed Batchelder2016-12-181-6/+29
| | | |
* | | | Add some to the ArcStart docstring, and remove defaultable argumentsNed Batchelder2016-12-181-5/+9
| | | |
* | | | Merged in pebers/coverage.py (pull request #57)Ned Batchelder2016-12-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Add support for searching inside .pex archives similarly to .zip and .egg.
| * | | | Add support for searching inside .pex archives similarly to .zip and .egg.Peter Ebden2015-07-131-1/+1
| | | | |
* | | | | Provide a more useful error message if failing to run a non-Python file. #514Ned Batchelder2016-12-171-6/+12
| | | | |
* | | | | Clean up and credit the #265 workNed Batchelder2016-12-161-6/+4
| | | | |
* | | | | --source and --include are mutually exclusive #265loic@dachary.org2016-12-161-0/+8
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | report must ignore skipped files #524loic@dachary.org2016-12-121-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Document report API skip_covered argumentloic@dachary.org2016-12-121-0/+2
| | | |
* | | | Prevent UnicodeErrors in HTML reports with Unicode configuration valuesNed Batchelder2016-12-061-3/+3
| | | |
* | | | status.json file is more compactNed Batchelder2016-11-291-1/+1
| |/ / |/| |
* | | More-accurate pragmasNed Batchelder2016-11-291-2/+2
| | |
* | | Avoid flags in regexes we combineNed Batchelder2016-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These regexes get piped together with other regexes, and flags not at the beginning of the regex raise DeprecationWarnings. Also, I'm not sure what the flag will do when combined with the other regexes. Also also, do people really use upper-case pragmas? --HG-- extra : amend_source : 0123e985b9ddba0a7ef18276816a05bdb3f8d170
* | | Use a 2/3 name for unicodeNed Batchelder2016-11-231-2/+2
| | |
* | | Conditionalize the ast_dump codeNed Batchelder2016-11-221-55/+60
| | |
* | | Fix the docstringNed Batchelder2016-11-201-2/+3
| | |
* | | Move the config logic out of the Coverage constructorNed Batchelder2016-11-202-36/+60
| | |
* | | Make sure that an uninterested setup.cfg doesn't prevent tox.ini from workingNed Batchelder2016-11-191-4/+21
| | |
* | | Update the docs about reading tox.iniNed Batchelder2016-11-191-3/+3
| | |