I had reported this as an issue at pytest, but it's probably more likely an issue with colorama. The gist of the issue is that when a user has a custom pytest conftest.py file used which, in turn, imports colorama, the handles dictionary within win32.py does not get reparsed on the second import. I've suggested a possible fix in that ticket, but will defer to your judgment on how best to fix it. Thanks for looking at it.
I had reported this as an issue at pytest, but it's probably more likely an issue with
colorama
. The gist of the issue is that when a user has a custom pytestconftest.py
file used which, in turn, importscolorama
, thehandles
dictionary withinwin32.py
does not get reparsed on the second import. I've suggested a possible fix in that ticket, but will defer to your judgment on how best to fix it. Thanks for looking at it.