summaryrefslogtreecommitdiff
path: root/tests/test__socket_errors.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: Improve ECONNREFUSED checksIvan A. Melnikov2020-10-221-4/+5
| | | | | | | | | | | Only the value for the current platform should be considered valid here, so this check uses the constant from `errno` module as expected output, instead of hardcoded ints. Also, this fixes build on MIPS, where ECONNREFUSED is defined as 146. Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
* tests cleanup, CI with Python 3.6Sergey Shepelev2017-01-051-1/+1
|
* tests: clean out unittest.main()Sergey Shepelev2016-06-011-4/+0
|
* green.socket: create_connection() was wrapping all exceptions in ↵Sergey Shepelev2015-02-131-0/+10
| | | | | | | socket.error; Thanks to Donagh McCabe Now raise socket.error unchanged, wrap everything else. https://bitbucket.org/eventlet/eventlet/issue/168/create_connection-incorrectly-raises
* Remove most of the deprecated codeJakub Stasiak2014-10-101-1/+0
| | | | Closes GH #144
* PEP-8 fixesSergey Shepelev2014-08-271-4/+5
|
* python3 compat: 2to3: `except E as e:` syntaxDavanum Srinivas2013-12-031-2/+2
| | | | | | | First step to Python 3 compatibility "2to3 -w -f except ." See [1] [1] http://docs.python.org/2/library/2to3.html#fixers
* try/except/finally is a 2.5 featureRyan Williams2010-02-261-6/+7
|
* test for eventlet issue #38 and fixjmalicki2010-02-211-0/+31
|
* Moved get_hub, use_hub, get_default_hub to eventlet.hubs. This is a step in ↵Ryan Williams2009-12-171-7/+2
| | | | the direction of better factoring and fewer circular-ish dependencies.
* Something started listening on port 81, and this test started failing. ↵Ryan Williams2009-12-111-1/+8
| | | | Changed so that it selects a port in a more foolproof manner.
* Buncha tiny windows-specific fixes.Ryan Williams2009-12-071-1/+2
|
* Removed copyright headers from individual files, added LICENSE and AUTHORS ↵Ryan Williams2009-10-031-21/+0
| | | | files to give credit instead. Linked authors list into documentation.
* Renamed greentest to tests to be more standard.Ryan Williams2009-07-241-0/+42