# HG changeset patch # User Oleg Oshmyan # Date 1302386380 -10800 # Node ID 6bb59a011bcbc2f5191070523ae32d7952ceded0 # Parent 218b8c28549ce2d54499a1057af8cf768595a636 Wall-clock time is output when maxwalltime but not maxcputime now on Win32 too diff -r 218b8c28549c -r 6bb59a011bcb win32.py --- a/win32.py Fri Apr 08 19:24:51 2011 +0300 +++ b/win32.py Sun Apr 10 00:59:40 2011 +0300 @@ -516,7 +516,7 @@ ir.Event.KeyEvent.wVirtualKeyCode == 27): raise testcases.CanceledByUser case.time_stopped = clock() - if GetProcessTimes: + if GetProcessTimes and (case.maxcputime or not case.maxwalltime): try: times = GetProcessTimes(case.process._handle) except WindowsError: