File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2
2
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
3
3
4
- """Code coverage measurement for Python.
4
+ """
5
+ Code coverage measurement for Python.
5
6
6
7
Ned Batchelder
7
- https://nedbatchelder.com/code/ coverage
8
+ https://coverage.readthedocs.io
8
9
9
10
"""
10
11
25
26
# the encodings.utf_8 module is loaded and then unloaded, I don't know why.
26
27
# Adding a reference here prevents it from being unloaded. Yuk.
27
28
import encodings .utf_8 # pylint: disable=wrong-import-position, wrong-import-order
28
-
29
- # Because of the "from coverage.control import fooey" lines at the top of the
30
- # file, there's an entry for coverage.coverage in sys.modules, mapped to None.
31
- # This makes some inspection tools (like pydoc) unable to find the class
32
- # coverage.coverage. So remove that entry.
33
- try :
34
- del sys .modules ['coverage.coverage' ]
35
- except KeyError :
36
- pass
You can’t perform that action at this time.
0 commit comments