File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,22 @@ This list is detailed and covers changes in each pre-release version.
22
22
Unreleased
23
23
----------
24
24
25
+ - In 6.0, the coverage.py exceptions moved from coverage.misc to
26
+ coverage.exceptions. These exceptions are not part of the public supported
27
+ API, CoverageException is. But a number of other third-party packages were
28
+ importing the exceptions from coverage.misc, so they are now available from
29
+ there again (`issue 1226 `_).
30
+
25
31
- Changed an internal detail of how tomli is imported, so that tomli can use
26
32
coverage.py for their own test suite (`issue 1228 `_).
27
33
28
34
- Defend against an obscure possibility under code obfuscation, where a
29
35
function can have an argument called "self", but no local named "self"
30
36
(`pull request 1210 `_). Thanks, Ben Carlsson.
31
37
32
- .. _issue 1228 : https://github.com/nedbat/coveragepy/issues/1228
33
38
.. _pull request 1210 : https://github.com/nedbat/coveragepy/pull/1210
39
+ .. _issue 1226 : https://github.com/nedbat/coveragepy/issues/1226
40
+ .. _issue 1228 : https://github.com/nedbat/coveragepy/issues/1228
34
41
35
42
36
43
.. _changes_60 :
Original file line number Diff line number Diff line change 20
20
from coverage import env
21
21
from coverage .exceptions import CoverageException
22
22
23
+ # In 6.0, the exceptions moved from misc.py to exceptions.py. But a number of
24
+ # other packages were importing the exceptions from misc, so import them here.
25
+ # pylint: disable=unused-wildcard-import
26
+ from coverage .exceptions import * # pylint: disable=wildcard-import
27
+
23
28
ISOLATED_MODULES = {}
24
29
25
30
You can’t perform that action at this time.
0 commit comments