[issue5679] cleanUp stack for unittest

2009-04-05 Thread Kumar McMillan
Kumar McMillan added the comment: I like this patch. However, a nice-to-have would be that _doCleanups() prints a traceback from function(*args, **kwargs) (if there is one) the same way that atexit does. That would aid in debugging mis-written cleanup functions yet would not intrude on your

[issue5679] cleanUp stack for unittest

2009-04-05 Thread Kumar McMillan
Changes by Kumar McMillan : -- nosy: +kumar303 ___ Python tracker <http://bugs.python.org/issue5679> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5538] tearDown in unittest should be executed regardless of result in setUp

2009-03-23 Thread Kumar McMillan
Kumar McMillan added the comment: For the record, I too have been plagued by failing setUp's :( and the pattern you describe is not uncommon. I was just pointing out that changing the semantics of tearDown() will affect a lot of existing code. As with any backwards incompatible chang

[issue5538] tearDown in unittest should be executed regardless of result in setUp

2009-03-23 Thread Kumar McMillan
Kumar McMillan added the comment: fwiw, changing tearDown() so that it executes unconditionally will break a countless number of test suites. No test suite since the dawn of unittest has been designed to tearDown() what may not have been setUp() correctly. in other words, this is how [in my

[issue4554] Missing make altframeworkinstall for Mac OS X

2008-12-05 Thread Kumar McMillan
Changes by Kumar McMillan <[EMAIL PROTECTED]>: -- nosy: +kumar303 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4554> ___ __

[issue3355] Display bug in :show-inheritance: for class with standard docstring

2008-07-14 Thread Kumar McMillan
New submission from Kumar McMillan <[EMAIL PROTECTED]>: Using Sphinx 0.4.1 I noticed a slight display bug in rendering :show-inheritance: for a class with a PEP 8 / PEP 257 style docstring. i.e. multi-line docstrings are recommended by the PEPs to look like: class Foo(SomeFoo): "