diff options
author | Jon Atack <jon@atack.com> | 2022-10-04 15:18:42 +0200 |
---|---|---|
committer | jonatack <jon@atack.com> | 2023-01-03 10:59:56 -0800 |
commit | 459cb637aca80f744a8399e84bc78fab60de0b5c (patch) | |
tree | bcf2240137aed6850656680f64b881ef1b8201f7 /test/functional/test_framework/siphash.py | |
parent | cb552c5f21192d2f8f69c07130928c21301a5e7f (diff) |
script, test: fix python linter E275 errors with flake8 5.0.4
Diffstat (limited to 'test/functional/test_framework/siphash.py')
-rw-r--r-- | test/functional/test_framework/siphash.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/test_framework/siphash.py b/test/functional/test_framework/siphash.py index 5ad245cf1b..884dbcab46 100644 --- a/test/functional/test_framework/siphash.py +++ b/test/functional/test_framework/siphash.py @@ -31,7 +31,7 @@ def siphash_round(v0, v1, v2, v3): def siphash(k0, k1, data): - assert(type(data) == bytes) + assert type(data) == bytes v0 = 0x736f6d6570736575 ^ k0 v1 = 0x646f72616e646f6d ^ k1 v2 = 0x6c7967656e657261 ^ k0 @@ -61,5 +61,5 @@ def siphash(k0, k1, data): def siphash256(k0, k1, num): - assert(type(num) == int) + assert type(num) == int return siphash(k0, k1, num.to_bytes(32, 'little')) |