Files
deb-python-eventlet/tests
Jakub Stasiak 1d4ce40c1b ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None"
The issue would manifest after performing the following steps on
Python 3.5:

* Create a plain socket without connecting to anything
* Wrap the plain socket in an SSL socket
* Call recv(n) on the SSL socket

This is the only place in the code where we actually assign
self._sslobj, I just modified the code to wrap the sslwrap result in
SSLObject like the standard library SSLSocket.connect does[1] since
Python 3.5[2].

[1] 9ec0aa138b/Lib/ssl.py (L1008)
[2] http://bugs.python.org/issue21965
2016-09-26 15:09:41 +01:00
..
2014-11-12 09:05:10 +00:00
2016-01-06 23:58:45 +01:00
2016-02-12 20:42:03 +05:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-04-24 18:11:37 +04:00
2014-10-11 01:41:30 +01:00
2014-08-27 10:21:55 +04:00
2014-10-11 01:41:30 +01:00
2016-01-06 23:58:45 +01:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2014-08-27 10:21:55 +04:00
2016-02-12 20:42:03 +05:00
2016-02-12 20:42:03 +05:00

The tests are intended to be run using Nose.  
http://somethingaboutorange.com/mrl/projects/nose/

To run tests, simply install nose, and then, in the eventlet tree, do:
   $ nosetests

That's it!  Its output is the same as unittest's output.  It tends to emit a lot of tracebacks from various poorly-behaving tests, but they still (generally) pass.