[issue7465] Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times

2009-12-09 Thread Aaron Altman
Changes by Aaron Altman aa...@tomorrowsfunction.com: -- title: Call to another class's constructor in unittest.TestCase.setUp returns the same instance - Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times

[issue7465] Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times

2009-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, this working as intended. Consider: Python 2.7a1+ (trunk:76725, Dec 9 2009, 09:26:36) [GCC 4.4.2] on linux2 Type help, copyright, credits or license for more information. class baseClass(object): ... def __init__(self,

[issue7465] Call to another class's constructor in unittest.TestCase.setUp returns the same instance multiple times

2009-12-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Heh, that first b = baseClass(); del b wasn't supposed to be there and doesn't change the result, just in case you were wondering. -- ___ Python tracker rep...@bugs.python.org