I'm facing an issue while running tests using pytest in my Python project on Windows. Here's the error I’m encountering io.UnsupportedOperation: fileno It happens when the clikit library tries to check if the output stream supports ANSI escape sequences for color output, and it seems like the stream doesn’t support fileno(). The full traceback points to this section in clikit: self._preliminary_io = ConsoleIO() ... fileno = self._stream.fileno()# <-------------this is the source of the error Details: OS: Windows 10 Python version: 3.11.5 pytest version: 7.4.4 masonite version: 4.20.2 The issue occurs while running test script: from tests.TestCase import TestCase class SomeFeatureTest(TestCase): def test_something(self): self.assertTrue(True) I've tried: Running tests in PyCharm's terminal and a regular terminal (Command Prompt, PowerShell). Updating dependencies (clikit, masonite). Does anyone know how to solve this or work around it? Continue reading...