[pypy-issue] [issue1406] pyopenssl-0.13 test suite trips up pypy in test_crypto.py test_ssl.py
Ian Delaney
tracker at bugs.pypy.org
Thu Feb 21 10:43:14 CET 2013
New submission from Ian Delaney <della5 at iinet.com.au>:
well pypy did pretty well again, these appear 'little things'
..............F............................................................
======================================================================
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
"/mnt/gen2/TmpDir/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
----------------------------------------------------------------------
Ran 162 tests in 0.833s
FAILED (failures=1)
* Test test_crypto.py fails with pypy-c2.0
======================================================================
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
----------------------------------------------------------------------
Ran 98 tests in 3.046s
FAILED (errors=2)
* Test test_ssl.py fails with pypy-c2.0
Need I add more?
----------
messages: 5368
nosy: idella5, pypy-issue
priority: bug
release: 2.0
status: chatting
title: pyopenssl-0.13 test suite trips up pypy in test_crypto.py test_ssl.py
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1406>
________________________________________
More information about the pypy-issue
mailing list