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:
Isaac To 2021-11-21 00:20:34 -08:00 committed by GitHub
parent cca9b90905
commit 8774308c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ This is outlined below:
test_class_demo.py:3: AssertionError
______________________ TestClassDemoInstance.test_two ______________________
self = <test_class_demo.TestClassDemoInstance object at 0xdeadbeef>
self = <test_class_demo.TestClassDemoInstance object at 0xdeadmeat>
def test_two(self):
> assert 0