New submission from Ian Delaney <[email protected]>:

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 <[email protected]>
<https://bugs.pypy.org/issue1406>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to