15
0
Files
python-Twisted/no-test_successResultOfWithFailureHasTraceback.patch
Nico Krapp 58b79240ad - Update to 25.5.0
* twisted.internet.interfaces.IReactorMulticast now accept IPv6
    literals and allow for IPv6 multicast.
  * TCP throughput when sending data is slightly faster.
  * twisted.trial.unittest.TestCase.defer* methods were removed and
    converted to private methods.
  * Deprecations and removals in twisted.internet.defer
  * twisted.conch.client.direct.SSHClientTransport.verifyHostKey no
    longer crashes with an encoding error while attempting to verify
    the peer's IP address.
  * The twisted.web.websockets module has been added, adding a
    websockets server and client based on the wsproto library.
- Add py314.patch to fix or skip tests failing with Python 3.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=164
2025-09-29 10:36:24 +00:00

26 lines
1012 B
Diff

---
src/twisted/conch/test/test_keys.py | 3 +++
1 file changed, 3 insertions(+)
Index: twisted-24.10.0/src/twisted/conch/test/test_keys.py
===================================================================
--- twisted-24.10.0.orig/src/twisted/conch/test/test_keys.py
+++ twisted-24.10.0/src/twisted/conch/test/test_keys.py
@@ -15,6 +15,7 @@ from twisted.python import randbytes
from twisted.python.filepath import FilePath
from twisted.python.reflect import requireModule
from twisted.trial import unittest
+import unittest as pyunit
cryptography = requireModule("cryptography")
if cryptography is None:
@@ -278,6 +279,8 @@ class KeyTests(unittest.TestCase):
publicKey = keys.Key.fromString(public)
self.assertTrue(publicKey._sk)
+ @pyunit.skip('Upstream ticket https://twistedmatrix.com/trac/ticket/9665' +
+ ' has still not been resolved.')
def test_fromOpenSSH(self):
"""
Test that keys are correctly generated from OpenSSH strings.