diff options
author | Andreas Motl <andreas@getkotori.org> | 2021-01-17 19:23:57 +0100 |
---|---|---|
committer | Andreas Motl <andreas@getkotori.org> | 2021-01-18 17:51:08 +0100 |
commit | 9ba1821e9121c3ee49a68b4863cd7ee50de4a5a5 (patch) | |
tree | 1c8fb38106c5271d1427e8073905ea551d10a53a /changelog | |
parent | c9e9a599fe5231da90967b6f77c73e17c12740b7 (diff) | |
download | pytest-9ba1821e9121c3ee49a68b4863cd7ee50de4a5a5.tar.gz |
Fix faulthandler for Twisted Logger when used with "--capture=no"
The Twisted Logger will return an invalid file descriptor since it is
not backed by an FD. So, let's also forward this to the same code path
as with `pytest-xdist`.
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/8249.bugfix.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog/8249.bugfix.rst b/changelog/8249.bugfix.rst new file mode 100644 index 000000000..aa084c757 --- /dev/null +++ b/changelog/8249.bugfix.rst @@ -0,0 +1 @@ +Fix the ``faulthandler`` plugin for occasions when running with ``twisted.logger`` and using ``pytest --capture=no``. |