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
..
2020-08-04 09:59:46 +03:00
2020-08-04 19:37:41 -03:00
2019-06-03 12:08:01 -03:00
2020-08-03 10:10:43 +03:00
2020-07-11 16:01:45 -03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-08-06 18:46:17 +03:00
2020-07-22 21:36:51 -03:00
2020-07-22 21:36:51 -03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-08-04 09:59:46 +03:00
2020-08-03 10:10:43 +03:00
2020-08-16 23:21:45 +03:00
2020-08-03 10:10:43 +03:00
2020-06-13 11:29:01 -03:00
2020-08-06 18:46:17 +03:00
2020-08-03 10:10:43 +03:00
2020-06-05 11:34:20 +03:00
2020-08-03 10:10:43 +03:00
2019-07-04 15:00:10 +02:00
2020-07-08 19:04:56 +03:00
2020-08-03 10:10:43 +03:00
2020-08-06 18:46:17 +03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-06-08 21:54:22 -03:00
2020-06-05 15:57:48 +03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-08-04 09:59:46 +03:00
2020-07-10 13:08:56 +03:00
2020-01-23 10:45:31 +01:00
2020-07-21 21:21:09 +03:00
2020-08-03 10:10:43 +03:00
2020-08-06 18:16:04 +03:00
2020-08-03 10:10:43 +03:00
2020-08-04 09:59:46 +03:00
2020-06-25 14:30:42 +03:00
2020-08-04 22:52:24 +03:00
2020-08-04 22:45:46 +03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-02-28 18:38:07 +01:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-08-03 10:10:43 +03:00
2020-06-26 09:50:19 -03:00
2020-07-10 13:08:56 +03:00
2020-08-03 10:10:43 +03:00
2020-08-01 17:14:37 +03:00
2020-08-05 15:24:08 -03:00
2019-06-15 11:48:34 -03:00
2020-08-03 10:10:43 +03:00
2020-07-14 14:53:42 +03:00