From d2a26df77081e7b389c6716bfbf45ac16a3bf291 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Tue, 10 Jan 2023 13:43:56 -0500 Subject: Set up icecream in test harness --- tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 3cecb7e8..b28d2a17 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,6 +10,12 @@ from .loop import LoopSocket from .stub_sftp import StubServer, StubSFTPServer from .util import _support +from icecream import ic, install as install_ic + + +install_ic() +ic.configureOutput(includeContext=True) + # Perform logging by default; pytest will capture and thus hide it normally, # presenting it on error/failure. (But also allow turning it off when doing -- cgit v1.2.1