In article <[EMAIL PROTECTED]>,
Delaney, Timothy (Tim) <[EMAIL PROTECTED]> wrote:
.
.
.
>That's exactly my point. Assuming your test coverage is good, such an
>error would be caught by the MemoryError. An infinite loop should also
>be caught by timing out the tests, but that's much more dependent on the
>test harness.
>
>Tim Delaney
Gulp. OK, you've got me curious: how many people habitually frame
their unit tests with resource constraints? I think I take testing
seriously, and certainly also am involved with resource limits often,
but I confess I've never aimed to write all my tests in terms of
bounds on time (and presumably memory and ...). You've got me
thinking, Tim.
--
http://mail.python.org/mailman/listinfo/python-list