[issue36670] test suite broken due to cpu usage feature on win 10/ german

Lorenz Mende report at bugs.python.org
Wed Apr 24 13:49:55 EDT 2019


Lorenz Mende <lorenz.mende at gmail.com> added the comment:

Sorry, was off some days. I tried to decode the output with mbcs, solves the issue partly - the counter name is still wrong.
Was able to pick the localization specific counter name from registry and use it for the typeperf.

But the tests fail after several seconds with Broken Pipe Error of the command_stdout pipe.

@Ammar - why is the handle closed in start()? If I uncomment it, the load tracker workks fine.

Added the fixed file, may someone evaluate the solution on another windows localization?

----------
Added file: https://bugs.python.org/file48285/win_utils.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36670>
_______________________________________


More information about the Python-bugs-list mailing list