Browse Source
pytest captures the output by monkey patching out `sys.stdout`. This may conflict with our use of `sys.stdout` when configuring logging, resulting in the "Write to closed file" issue that is spamming the logs. By making the logging configuration a fixture hopefully we always use the correct stdout (after pytest has monkey-patched it).travis-debug
Christian Decker
5 years ago
committed by
Rusty Russell
3 changed files with 15 additions and 7 deletions
Loading…
Reference in new issue