diff --git a/_pytest/capture.py b/_pytest/capture.py index be93eef2b..b627e5102 100644 --- a/_pytest/capture.py +++ b/_pytest/capture.py @@ -478,7 +478,7 @@ def _colorama_workaround(): """ Ensure colorama is imported so that it attaches to the correct stdio handles on Windows. - + colorama uses the terminal on import time. So if something does the first import of colorama while I/O capture is active, colorama will fail in various ways.