* twisted.logger.formatEvent now honors dotted method names,
not just flat function names, in format strings, as it has
long been explicitly documented to do. So, you will now get
the expected result from formatEvent("here's the result of
calling a method at log-format time: {obj.method()}",
obj=...)
* twisted.web.http.HTTPChannel now ignores the trailer headers
provided in the last chunk of a chunked encoded response,
rather than raising an exception.
* twisted.protocols.tls.BufferingTLSTransport, used by default
by twisted.protocols.tls.TLSMemoryBIOFactory, was refactored
for improved performance when doing a high number of small
writes.
* twisted.python.failure.Failure now throws exception for
generators without triggering a deprecation warnings on
Python 3.12.
* twisted.internet.process.Process, used by
reactor.spawnProcess, now copies the parent environment when
the env=None argument is passed on Posix systems and
os.posix_spawnp is used internally.
* twisted.internet.defer.inlineCallbacks.returnValue's stack
introspection was adjusted for the latest PyPy 7.3.14
release, allowing legacy @inlineCallbacks to run on new PyPY
versions.
* twisted.trial.reporter.TestRun.startTest() is no longer
called for tests with skip annotation or skip attribute for
Python 3.12.1 or newer. This is the result of upstream Python
gh-106584 change. The behavior is not change in 3.12.0 or
older.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=149
26 lines
949 B
Diff
26 lines
949 B
Diff
---
|
|
src/twisted/test/test_udp.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: twisted-24.3.0/src/twisted/test/test_udp.py
|
|
===================================================================
|
|
--- twisted-24.3.0.orig/src/twisted/test/test_udp.py
|
|
+++ twisted-24.3.0/src/twisted/test/test_udp.py
|
|
@@ -8,7 +8,7 @@ Tests for implementations of L{IReactorU
|
|
|
|
|
|
import os
|
|
-from unittest import skipIf
|
|
+from unittest import skipIf, SkipTest
|
|
|
|
from twisted.internet import defer, error, interfaces, protocol, reactor, udp
|
|
from twisted.internet.defer import Deferred, gatherResults, maybeDeferred
|
|
@@ -578,6 +578,7 @@ class MulticastTests(TestCase):
|
|
skip = "This reactor does not support multicast"
|
|
|
|
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
|