Jesús Cea Avión added the comment:

The problem with using RLIMIT is that the testsuite could be executing several 
tests in parallel using independent threads, for instance. You don't want to 
influence unrelated tests.

Overiding private methods is ugly, but if the code evolves the test would 
break, and the programmer just have to update it. I think that "sometimes" we 
have to be "practical". There are plenty of examples of this in the testsuite, 
using implementation details, etc.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16327>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to