Different instances should have different address
The instances of a class associated with different tests should be at different addresses.
This commit is contained in:
parent
cca9b90905
commit
8774308c43
|
@ -198,7 +198,7 @@ This is outlined below:
|
||||||
test_class_demo.py:3: AssertionError
|
test_class_demo.py:3: AssertionError
|
||||||
______________________ TestClassDemoInstance.test_two ______________________
|
______________________ TestClassDemoInstance.test_two ______________________
|
||||||
|
|
||||||
self = <test_class_demo.TestClassDemoInstance object at 0xdeadbeef>
|
self = <test_class_demo.TestClassDemoInstance object at 0xdeadmeat>
|
||||||
|
|
||||||
def test_two(self):
|
def test_two(self):
|
||||||
> assert 0
|
> assert 0
|
||||||
|
|
Loading…
Reference in New Issue