mirror of
https://github.com/python/cpython.git
synced 2025-12-08 10:21:13 +00:00
parent
5e3806f8cf
commit
86afc1f2a7
2 changed files with 6 additions and 0 deletions
|
|
@ -5573,6 +5573,9 @@ class LinuxKernelCryptoAPI(unittest.TestCase):
|
|||
else:
|
||||
return sock
|
||||
|
||||
# bpo-31705: On kernel older than 4.5, sendto() failed with ENOKEY,
|
||||
# at least on ppc64le architecture
|
||||
@support.requires_linux_version(4, 5)
|
||||
def test_sha256(self):
|
||||
expected = bytes.fromhex("ba7816bf8f01cfea414140de5dae2223b00361a396"
|
||||
"177a9cb410ff61f20015ad")
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
Skip test_socket.test_sha256() on Linux kernel older than 4.5. The test
|
||||
fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was merged into the
|
||||
kernel 4.5.
|
||||
Loading…
Add table
Add a link
Reference in a new issue