

def test_get_hash_str(self):
    '\n        Strings are hashed correctly\n        '
    expected = sha512(b'foo')
    actual = _get_hash('foo')
    self.assertEqual(expected.hexdigest(), expected.hexdigest())

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