@@ -23,17 +23,21 @@ upgrading your version of coverage.py.
23
23
Unreleased
24
24
----------
25
25
26
+ - The HTML report now dimly colors subsequent lines in multi-line statements.
27
+ They used to have no color. This gives a better indication of the amount of
28
+ code missing in the report. Closes `issue 1308 `_.
29
+
30
+ - Two new exclusion patterns are part of the defaults: ``... `` is automatically
31
+ excluded as a line and ``if TYPE_CHECKING: `` is excluded as a branch. Closes
32
+ `issue 831 `_.
33
+
26
34
- A new configuration option: ":ref: `config_run_patch `" lets you
27
35
specify named patches to apply to work around some limitations in coverage
28
36
measurement. As of now, there is only one patch: ``os._exit `` lets coverage
29
37
save its data even when :func: `os._exit() <python:os._exit> ` is used to
30
38
abruptly end the process. This closes long-standing `issue 310 `_ as well as
31
39
its duplicates: `issue 312 `_, `issue 1845 `_, and `issue 1941 `_.
32
40
33
- - Two new exclusion patterns are part of the defaults: ``... `` is automatically
34
- excluded as a line and ``if TYPE_CHECKING: `` is excluded as a branch. Closes
35
- `issue 831 `_.
36
-
37
41
- A new configuration option: ":ref: `config_report_partial_also `" is a list of
38
42
regexes to add as pragmas for partial branches. This parallels the
39
43
":ref: `config_report_exclude_also `" setting for adding line exclusion
@@ -43,10 +47,6 @@ Unreleased
43
47
:ref: `config_json_output `, :ref: `config_lcov_output ` and
44
48
:ref: `config_run_debug_file `. This is now fixed.
45
49
46
- - The HTML report now dimly colors subsequent lines in multi-line statements.
47
- They used to have no color. This gives a better indication of the amount of
48
- code executed or missing. Closes `issue 1308 `_.
49
-
50
50
.. _issue 310 : https://github.com/nedbat/coveragepy/issues/310
51
51
.. _issue 312 : https://github.com/nedbat/coveragepy/issues/312
52
52
.. _issue 831 : https://github.com/nedbat/coveragepy/issues/831
0 commit comments