~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/t-*.py: Use the `WriteBuffer.contents' property.
[catacomb-python]
/
t
/
t-algorithms.py
diff --git
a/t/t-algorithms.py
b/t/t-algorithms.py
index
2fd0e09
..
d7b97cb
100644
(file)
--- a/
t/t-algorithms.py
+++ b/
t/t-algorithms.py
@@
-788,7
+788,7
@@
class TestKeccak (HashBufferTestMixin):
## Check masking.
x = xcls().hash(m).xof()
- me.assertEqual(x.mask(m),
C.ByteString(m) ^ C.ByteString(h[0:len(m)])
)
+ me.assertEqual(x.mask(m),
m ^ h[0:len(m)]
)
## Check the `check' method.
me.assertTrue(xcls().hash(m).check(h0))