summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-06 07:14:18 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-06 07:14:18 -0400
commit3b8f4a0b86f8796f1e7925b9c6593a9d5198b437 (patch)
tree68f192e6be5ee3cb4cba489b860a951b75755c28 /CHANGES.rst
parent0101eff78ab68dcf8a8c20e06c24b68d8e4c45e6 (diff)
downloadpython-coveragepy-git-3b8f4a0b86f8796f1e7925b9c6593a9d5198b437.tar.gz
Protect ourselves from mock'ed os. #416
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 988d63a8..c802bff1 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -14,13 +14,18 @@ Version 4.0.1
coverage.py v3.7.1 behavior, which silently ignored unreadable files.
Prompted by `issue 418`_.
-- Code that uses ``sys.settrace(sys.gettrace())`` used to incur more than a 2x
+- Test suites that mocked os.path.exists would experience strange failures, due
+ to coverage.py using their mock inadvertently. This is now fixed, closing
+ `issue 416`_.
+
+- Code that uses ``sys.settrace(sys.gettrace())`` used to incur a more than 2x
speed penalty. Now there's no penalty at all. Fixes `issue 397`_.
- Pyexpat C code will no longer be recorded as a source file, fixing
`issue 419`_.
.. _issue 397: https://bitbucket.org/ned/coveragepy/issues/397/stopping-and-resuming-coverage-with
+.. _issue 416: https://bitbucket.org/ned/coveragepy/issues/416/mocking-ospathexists-causes-failures
.. _issue 418: https://bitbucket.org/ned/coveragepy/issues/418/json-parse-error
.. _issue 419: https://bitbucket.org/ned/coveragepy/issues/419/nosource-no-source-for-code-path-to-c