Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | The PyPy-specific test for atexit/gettrace are also PyPy-version-specific... | Ned Batchelder | 2016-12-31 | 2 | -1/+3 | |
| | | ||||||
* | | Remove hastiliy short-circuited check for conflicting include and source | Ned Batchelder | 2016-12-30 | 1 | -10/+0 | |
| | | ||||||
* | | Don't warn about trace=None on PyPy at shutdown | Ned Batchelder | 2016-12-30 | 1 | -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 Batchelder | 2016-12-30 | 1 | -1/+12 | |
| | | ||||||
* | | Prevent a hard crash when starting coverage thousands of times | Ned Batchelder | 2016-12-29 | 1 | -0/+1 | |
| | | ||||||
* | | Bump version to 4.3.2a0 | Ned Batchelder | 2016-12-28 | 1 | -1/+1 | |
| | | ||||||
* | | Gearing up for 4.3.1coverage-4.3.1 | Ned Batchelder | 2016-12-28 | 1 | -1/+1 | |
| | | ||||||
* | | Revert the check for conflicting --source and --include. Closes #541, ↵ | Ned Batchelder | 2016-12-28 | 1 | -0/+3 | |
| | | | | | | | | re-opens #265 | |||||
* | | Push version to 4.3.1a0 | Ned Batchelder | 2016-12-27 | 1 | -1/+1 | |
| | | ||||||
* | | A better way to get good random numberscoverage-4.3 | Ned Batchelder | 2016-12-27 | 1 | -4/+1 | |
| | | ||||||
* | | Windows Python 3.6 doesn't seed well. Hack around it. | Ned Batchelder | 2016-12-27 | 1 | -0/+3 | |
| | | ||||||
* | | Doc updates for 4.3 | Ned Batchelder | 2016-12-26 | 1 | -1/+1 | |
| | | ||||||
* | | Suppress the coverage.py frame when reporting exceptions | Ned Batchelder | 2016-12-26 | 1 | -0/+2 | |
| | | ||||||
* | | Make excepthook execution more accurate. Pypy tests failing | Ned Batchelder | 2016-12-26 | 1 | -4/+12 | |
| | | ||||||
* | | Merged in andrewhoos/coverage.py (pull request #93) | Ned Batchelder | 2016-12-26 | 1 | -1/+11 | |
|\ \ | | | | | | | | | | Explicitely call sys.excepthook | |||||
| * | | Update change with tests and fixes for tests | Andrew Hoos | 2016-11-30 | 1 | -8/+9 | |
| | | | ||||||
| * | | Remove the unused import | Andrew Hoos | 2016-11-29 | 1 | -1/+0 | |
| | | | ||||||
| * | | Limit changes to only execfile.py | Andrew Hoos | 2016-11-29 | 2 | -2/+4 | |
| | | | ||||||
| * | | Update code to better handle calling sys.excepthook when it throws | Andrew Hoos | 2016-11-29 | 2 | -5/+9 | |
| | | | ||||||
| * | | Update handling of sys.excepthook to only call custom excepthooks and ↵ | Andrew Hoos | 2016-11-29 | 1 | -1/+6 | |
| | | | | | | | | | | | | re-raise exceptions | |||||
| * | | Explicitely call sys.excepthook | Andrew Hoos | 2016-11-29 | 1 | -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 Lupo | 2016-12-25 | 1 | -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 Batchelder | 2016-12-24 | 3 | -5/+14 | |
|\ \ \ | | | | | | | | | | | | | implement --skip-covered for html report #433 | |||||
| * | | | implement --skip-covered for html report #433 | loic@dachary.org | 2016-12-18 | 3 | -5/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2 | |||||
* | | | | 2.6 and 2.7 are not different wrt constants in while loops | Ned Batchelder | 2016-12-24 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | Move the test program into the test | Ned Batchelder | 2016-12-24 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | also use AST for while constants in python-2.7 #502 | loic@dachary.org | 2016-12-15 | 1 | -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 Batchelder | 2016-12-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | More parser code clean-up | Ned Batchelder | 2016-12-18 | 1 | -14/+25 | |
| | | | | ||||||
* | | | | Clean up #493 fix | Ned Batchelder | 2016-12-18 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108) | Ned Batchelder | 2016-12-18 | 1 | -5/+7 | |
|\ \ \ \ | | | | | | | | | | | | | | | | finally happens before return in a try #493 | |||||
| * | | | | finally happens before return in a try #493 | loic@dachary.org | 2016-12-18 | 1 | -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 Batchelder | 2016-12-18 | 1 | -8/+19 | |
| | | | | ||||||
* | | | | More doc and cleanup of ast parsing | Ned Batchelder | 2016-12-18 | 1 | -6/+29 | |
| | | | | ||||||
* | | | | Add some to the ArcStart docstring, and remove defaultable arguments | Ned Batchelder | 2016-12-18 | 1 | -5/+9 | |
| | | | | ||||||
* | | | | Merged in pebers/coverage.py (pull request #57) | Ned Batchelder | 2016-12-18 | 1 | -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 Ebden | 2015-07-13 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Provide a more useful error message if failing to run a non-Python file. #514 | Ned Batchelder | 2016-12-17 | 1 | -6/+12 | |
| | | | | | ||||||
* | | | | | Clean up and credit the #265 work | Ned Batchelder | 2016-12-16 | 1 | -6/+4 | |
| | | | | | ||||||
* | | | | | --source and --include are mutually exclusive #265 | loic@dachary.org | 2016-12-16 | 1 | -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 #524 | loic@dachary.org | 2016-12-12 | 1 | -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 argument | loic@dachary.org | 2016-12-12 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Prevent UnicodeErrors in HTML reports with Unicode configuration values | Ned Batchelder | 2016-12-06 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | status.json file is more compact | Ned Batchelder | 2016-11-29 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | More-accurate pragmas | Ned Batchelder | 2016-11-29 | 1 | -2/+2 | |
| | | | ||||||
* | | | Avoid flags in regexes we combine | Ned Batchelder | 2016-11-27 | 1 | -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 unicode | Ned Batchelder | 2016-11-23 | 1 | -2/+2 | |
| | | | ||||||
* | | | Conditionalize the ast_dump code | Ned Batchelder | 2016-11-22 | 1 | -55/+60 | |
| | | | ||||||
* | | | Fix the docstring | Ned Batchelder | 2016-11-20 | 1 | -2/+3 | |
| | | | ||||||
* | | | Move the config logic out of the Coverage constructor | Ned Batchelder | 2016-11-20 | 2 | -36/+60 | |
| | | |