From b96524c75c5447f8cf2d1feda7ba92d0577fd282057b2bfa3f470d1802e1fff3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 19 Oct 2018 14:59:13 +0000 Subject: [PATCH] Just raise SkipTest exception and be done with it. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=68 --- skip_MultiCast.patch | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/skip_MultiCast.patch b/skip_MultiCast.patch index 5fdc183..b4fc9ab 100644 --- a/skip_MultiCast.patch +++ b/skip_MultiCast.patch @@ -1,19 +1,10 @@ --- a/src/twisted/test/test_udp.py +++ b/src/twisted/test/test_udp.py -@@ -15,6 +15,8 @@ from twisted.internet.defer import Defer - from twisted.internet import protocol, reactor, error, defer, interfaces, udp - from twisted.python import runtime - -+import unittest as pyunit -+ - - class Mixin: - -@@ -500,6 +502,7 @@ class ReactorShutdownInteractionTests(un - - - -+@pyunit.skip("Multicast networking doesn't work with ") +@@ -503,6 +503,7 @@ class ReactorShutdownInteractionTests(un class MulticastTests(unittest.TestCase): def setUp(self): ++ raise unittest.SkipTest("Multicast networking doesn't work with OBS") + self.server = Server() + self.client = Client() + # multicast won't work if we listen over loopback, apparently