| Summary: | dev-python/pyopenssl-0.13-r1: test failures with pypy* | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugs.launchpad.net/pyopenssl/+bug/1131923 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log for pypy2.0 | ||
fijal entered a comment resulting in a second filing to pyopenssl at launchpad Version is no longer in portage. |
Created attachment 339048 [details] Build log for pypy2.0 They seem harmless. Both 1.9 and 2.0 give the same results. ====================================================================== FAIL: test_onlyStringAttributes (__main__.X509NameTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_crypto.py", line 680, in test_onlyStringAttributes self.assertRaises(TypeError, setattr, name, evil(), "hello") File "/tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test/util.py", line 121, in failUnlessRaises exception.__name__, AssertionError: <type 'exceptions.AttributeError'> raised instead of TypeError ====================================================================== ERROR: test_short_memoryview (__main__.ConnectionSendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ssl.py", line 1399, in test_short_memoryview count = server.send(memoryview(b('xy'))) TypeError: must be convertible to a buffer, not memoryview ====================================================================== ERROR: test_short_memoryview (__main__.ConnectionSendallTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ssl.py", line 1441, in test_short_memoryview server.sendall(memoryview(b('x'))) TypeError: must be convertible to a buffer, not memoryview