James Henstridge <[EMAIL PROTECTED]> added the comment: Is repeating a test with the same TestCase instance ever safe? It'd be better to create a new instance and run that.
If any of the variables in test.globs are changed by the test (e.g. appending to a list), then rerunning the test will not necessarily give the same result. While the zope change allows tests that have immutable globals or don't change their globals to function, it also lets other tests "almost" work, and could lead to new bugs that are difficult to track down. ---------- nosy: +jamesh __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2604> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com