14
0

- Add skip-test_keepalive_ping_with_no_ping_timeout.patch for

gh#aaugustin/websockets#1026.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockets?expand=0&rev=28
This commit is contained in:
2021-08-10 07:52:37 +00:00
committed by Git OBS Bridge
parent 44a7704273
commit 99b8f93569
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
---
tests/legacy/test_protocol.py | 2 ++
1 file changed, 2 insertions(+)
--- a/tests/legacy/test_protocol.py
+++ b/tests/legacy/test_protocol.py
@@ -1,5 +1,6 @@
import asyncio
import contextlib
+import platform
import sys
import unittest
import unittest.mock
@@ -1189,6 +1190,7 @@ class CommonTests:
self.loop.run_until_complete(asyncio.sleep(4 * MS))
self.assertNoFrameSent()
+ @unittest.skipIf(platform.processor() == 'x86_64', 'gh#aaugustin/websockets#1026')
def test_keepalive_ping_with_no_ping_timeout(self):
self.restart_protocol_with_keepalive_ping(ping_timeout=None)