

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

dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py TestGetHashFunction.test_get_hash_boolean_false/VarMisuse@36/99 `actual`->`expected`