Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457814 - dev-python/pyopenssl-0.13-r1: test failures with pypy*
Summary: dev-python/pyopenssl-0.13-r1: test failures with pypy*
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://bugs.launchpad.net/pyopenssl/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-16 11:39 UTC by Michał Górny
Modified: 2016-10-24 11:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for pypy2.0 (build-pypy-c2.0.log,11.79 KB, text/plain)
2013-02-16 11:39 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
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.