summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_socket.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index e70a8f69a7..b97a7688a6 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -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")