

def test_dangling_resource_equality(self):
    resource = self.load('test', self.model, self.defs)()
    q1 = self.Queue('url')
    q2 = resource.Queue('url')
    self.assertEqual(q1, q2)

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_factory.py TestResourceFactoryDanglingResource.test_dangling_resource_equality/VarMisuse@31/40 `resource`->`self`