

def test_get_hash_boolean_true(self):
    "\n        Ensure hash of Python's True boolean value is a hash of 'true' (since\n        this is the true value in JSON).\n        "
    expected = sha512(b'true')
    actual = _get_hash(True)
    self.assertEqual(actual.hexdigest(), actual.hexdigest())

dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py TestGetHashFunction.test_get_hash_boolean_true/VarMisuse@30/94 `expected`->`actual`