File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 11# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
22# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
33
4- """Code coverage measurement for Python.
4+ """
5+ Code coverage measurement for Python.
56
67Ned Batchelder
7- https://nedbatchelder.com/code/ coverage
8+ https://coverage.readthedocs.io
89
910"""
1011
2526# the encodings.utf_8 module is loaded and then unloaded, I don't know why.
2627# Adding a reference here prevents it from being unloaded. Yuk.
2728import 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