diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-24 17:26:47 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-24 17:49:36 -0500 |
| commit | 47d1659826e53d09b86eba8b418dc684050659ca (patch) | |
| tree | 246f65318c13a27c4e0bd8c080122baa26260f76 /CHANGES.rst | |
| parent | 4dae569d7ccafd6e6fcdc3c2f6bcca09a6611ac0 (diff) | |
| download | python-coveragepy-git-47d1659826e53d09b86eba8b418dc684050659ca.tar.gz | |
Implement __spec__ for files we run. #745 #838
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 154ca78d..af1e5788 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -24,10 +24,17 @@ want to know what's different in 5.0 since 4.5.x, see :ref:`whatsnew5x`. Unreleased ---------- +- Python files run with ``-m`` now have ``__spec__`` defined properly. This + fixes `issue 745`_ (about not being able to run unittest tests that spawn + subprocesses), and `issue 838`_, which described the problem directly. + - The :func:`.coverage.numbits.register_sqlite_functions` function now also registers `numbits_to_nums` for use in SQLite queries. Thanks, Simon Willison. +.. _issue 745: https://github.com/nedbat/coveragepy/issues/745 +.. _issue 838: https://github.com/nedbat/coveragepy/issues/838 + .. _changes_50b1: |
