[New-bugs-announce] [issue15273] Remove unnecessarily random behavior from test_unparse.py

Larry Hastings report at bugs.python.org
Sat Jul 7 14:29:13 CEST 2012


New submission from Larry Hastings <larry at hastings.org>:

Tools/parser/test_unparse.py is the regression test suite for Tools/unparse.  To save time, if the "cpu" resource is not enabled it only test unparsing ten files.  However it picks these files at random.

It would be nice if the test was 100% repeatable.  It might be nice if it picked the most tortuous ten files.  What ten are the most tortuous is not immediately clear, but a nice first approximation might be to pick the largest ten, provided the stat calls don't themselves make the test slow again.

----------
assignee: mark.dickinson
messages: 164831
nosy: larry, mark.dickinson
priority: low
severity: normal
stage: needs patch
status: open
title: Remove unnecessarily random behavior from test_unparse.py
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15273>
_______________________________________


More information about the New-bugs-announce mailing list