forked from pool/python-Twisted
- Add createElement.patch to fix tests with fixed python interpreters
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=166
This commit is contained in:
25
skip_MultiCast.patch
Normal file
25
skip_MultiCast.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
src/twisted/test/test_udp.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: twisted-25.5.0/src/twisted/test/test_udp.py
|
||||
===================================================================
|
||||
--- twisted-25.5.0.orig/src/twisted/test/test_udp.py
|
||||
+++ twisted-25.5.0/src/twisted/test/test_udp.py
|
||||
@@ -22,7 +22,7 @@ from socket import (
|
||||
inet_pton,
|
||||
socket,
|
||||
)
|
||||
-from unittest import skipIf
|
||||
+from unittest import skipIf, SkipTest
|
||||
|
||||
from twisted.internet import defer, error, interfaces, protocol, reactor, udp
|
||||
from twisted.internet.address import IPv4Address, IPv6Address
|
||||
@@ -638,6 +638,7 @@ class MulticastTests(TestCase):
|
||||
wrongAddressFamily: str = "::1"
|
||||
|
||||
def setUp(self):
|
||||
+ raise SkipTest("Multicast networking doesn't work with OBS")
|
||||
self.server = Server()
|
||||
self.client = Client()
|
||||
# multicast won't work if we listen over loopback, apparently
|
||||
Reference in New Issue
Block a user