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
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,
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