

def test_with_code(self):
    e = HealthVaultException('Howdy', code=2)
    assert (self.code == 2)

dataset/ETHPy150Open orcasgit/python-healthvault/tests/test_exc.py TestException.test_with_code/VarMisuse@23/32 `e`->`self`