When running Coverage in PyCharm on a Windows 10 machine, I receive a ValueError after running the tests via coverage run:
============================================================================================== 2 failed, 72 passed in 574.19s (0:09:34) ===============================================================================================
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "c:\users\ken\desktop\github\gender_analysis\venv\lib\site-packages\clint\packages\colorama\initialise.py", line 17, in reset_all
AnsiToWin32(orig_stdout).reset_all()
File "c:\users\ken\desktop\github\gender_analysis\venv\lib\site-packages\clint\packages\colorama\ansitowin32.py", line 64, in __init__
convert = on_windows and is_a_tty(wrapped)
File "c:\users\ken\desktop\github\gender_analysis\venv\lib\site-packages\clint\packages\colorama\ansitowin32.py", line 15, in is_a_tty
return hasattr(stream, 'isatty') and stream.isatty()
File "C:\Users\Ken\AppData\Local\Programs\Python\Python38-32\lib\tempfile.py", line 474, in func_wrapper
return func(*args, **kwargs)
ValueError: I/O operation on closed file
This is low priority - Coverage still works, and it seems like a hard error to fix - but it's worth flagging.
When running Coverage in PyCharm on a Windows 10 machine, I receive a ValueError after running the tests via
coverage run
:This is low priority - Coverage still works, and it seems like a hard error to fix - but it's worth flagging.