

def test_get_hash_float(self):
    '\n        Ensure float values are hashed correctly.\n        '
    expected = sha512(b'12345.6789')
    actual = _get_hash(12345.6789)
    self.assertEqual(self.hexdigest(), actual.hexdigest())

dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_crypto.py TestGetHashFunction.test_get_hash_float/VarMisuse@30/64 `expected`->`self`