[issue14308] '_DummyThread' object has no attribute '_Thread__block'

2012-04-18 Thread cooyeah
cooyeah added the comment: I saw the similar problem on Ubuntu 12.04 with django development server with mediageneartor. As Dustin suggested, I don't think this is related to the "del _Thread__block" statement. I hacked the __getattribute__ of DummyThread class def __geta

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-27 Thread cooyeah
New submission from cooyeah : The constructor of TextTestRunner class looks like: def __init__(self, stream=sys.stderr, descriptions=1, verbosity=1) Since the default parameter is evaluated only once, if sys.stderr is redirected later, the test would still use the old stderr when it was first