test_ok2/src
Ran Benita 0d5a65091d capture: fix disabled()/global_and_fixture_disabled() enabling capturing when it was disabled
The `CaptureManager.global_and_fixture_disabled()` context manager (and
`CaptureFixture.disabled()` which calls it) did `suspend(); ...;
resume()` but if the capturing was already suspended, the `resume()`
would resume it when it shouldn't.

This caused caused some messages to be swallowed when `--log-cli` is
used because it uses `global_and_fixture_disabled` when capturing is not
necessarily resumed.
2020-08-16 23:21:45 +03:00
..
_pytest capture: fix disabled()/global_and_fixture_disabled() enabling capturing when it was disabled 2020-08-16 23:21:45 +03:00
pytest Format docstrings in a consistent style 2020-08-01 17:14:37 +03:00