Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 457814

Summary: dev-python/pyopenssl-0.13-r1: test failures with pypy*
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: 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

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-16 11:39:47 UTC
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
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-02-22 21:59:45 UTC
fijal entered a comment resulting in a second filing to pyopenssl at launchpad
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-10-24 11:25:34 UTC
Version is no longer in portage.