summaryrefslogtreecommitdiff
path: root/tests/hub_test.py
Commit message (Collapse)AuthorAgeFilesLines
* green.urllib2: missing patched ssl moduleCollin RM Stocks2016-04-221-1/+1
|
* Python 3 compat: Fix patcher and hub testsJakub Stasiak2015-02-101-4/+5
|
* Fix typos detected by toolkit misspellingsChangBo Guo(gcb)2015-02-071-2/+2
| | | | | | | * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Closes GH #194
* hubs: drop Twisted supportSergey Shepelev2014-10-291-3/+0
|
* PEP-8 fixesSergey Shepelev2014-08-271-1/+1
|
* tests: deprecated TestCase.assert_() -> assert keywordSergey Shepelev2014-07-161-2/+2
| | | | https://github.com/eventlet/eventlet/issues/101
* python3 compatibilitySergey Shepelev2014-04-241-34/+10
| | | | | | | | | | | | - __next__ for iterator interface - six.next() to get next item - list(dict.keys()) - popen2.popen4 -> subprocess - s2b -> b"..." literals - deprecated assertEquals -> assertEqual - hub_test test_fork using run_python - 1L -> 1 long literal - many PEP-8 fixes
* PEP-8 fixes, tox runs pep8 checkSergey Shepelev2014-04-231-1/+0
| | | | | For now, pep8 check is only run for some files known to be clean, we should clean the rest and enable pep8 check for all files then.
* python3 compatibility: print functionSergey Shepelev2014-04-231-3/+3
|
* python3 compat fixesVictor Sergeyev2014-03-281-6/+7
| | | | https://github.com/eventlet/eventlet/pull/59
* python3 compat: print() function syntaxSergey Shepelev2013-12-031-0/+2
|
* hubs: get_default_hub() on Windows broken by kqueue; Thanks to Paul OppenheimSergey Shepelev2013-07-021-29/+81
| | | | | Fixes https://github.com/eventlet/eventlet/issues/38 +autopep8
* support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2)Edward George2013-04-161-1/+61
|
* Fix python 2.5 supportFloris Bruynooghe2012-09-051-0/+2
| | | | | | | | | | | * Avoid using property.setter(), use old-style properties instead. * Avoid using the new pep8-style threading API. * Use from __future__ import with_statement where it is used. * Add python 2.5 environments to tox, no epolls since that did not yet exist.
* correct spelling of defunctEdward George2012-08-131-1/+1
|
* added tests for dead hub greenlet issues.Edward George2012-08-131-0/+56
|
* Refactoring zmq support tests in light of lack of zeromq hub.Ryan Williams2011-04-091-3/+1
|
* Ignoring EEXIST in epoll hub on register. Should fix #80.Ryan Williams2011-04-021-0/+36
|
* Skipping repeated selects test on zmq hub because it doesn't appear to ↵Ryan Williams2011-01-231-1/+2
| | | | support detecting bad filenos at select() time.
* Fixes #74, removing filenos from the hub when they raise a value error, ↵Ryan Williams2011-01-231-0/+9
| | | | thanks to Edward George for the repro and fix.
* Removed bits from this test that I no longer remember their original purpose.Ryan Williams2010-09-281-12/+12
|
* Increasing timeout for that slow Darwin boxRyan Williams2010-07-291-0/+1
|
* Silencing intermittent test failures.Ryan Williams2010-07-281-6/+6
|
* Blocking detector doesn't work with pyevent.Ryan Williams2010-06-241-0/+2
|
* Add support for the itimer module with blocking detectionR. Tyler Ballance2010-06-241-1/+13
| | | | | | This will allow for subsecond blocking detection thanks to the itimer module recently released by Slide, Inc: http://github.com/slideinc/itimer
* MergeRyan Williams2010-06-241-0/+36
|\
| * Sending signals using more backwards-compatible methodology.Ryan Williams2010-05-251-2/+2
| |
| * Fixed behavior on suspend, thanks to Michael Carter for identifying the problem.Ryan Williams2010-05-251-0/+36
| |
* | Probably horribly broken block detecter, only for poll/epoll hubs.Ryan Williams2010-05-071-0/+11
|/
* Included next_timers in the cleanup, thanks to redbo's suggestion.Ryan Williams2010-05-061-3/+18
|
* Removed undocumented stop() method from hub it's the same as abort(True). ↵Ryan Williams2010-05-051-3/+5
| | | | Fixed pyevent test failures and broken import that I somehow earlier missed.
* Converted fully over to what the internet assures me is the American ↵Ryan Williams2010-05-051-22/+28
| | | | spelling of 'canceled' -- this only affects internal variables. Also cleaned up the meticulous timer accounting of the hub tests so they stop failing after other tests are run. Also added new parameter to the abort method because it seemed to be the dominant mode of operation.
* Implemented cancelled-timer cleanup; if there are more than 1000 timers and ↵Ryan Williams2010-04-181-10/+54
| | | | more than half of them are cancelled, it cleans them out.
* py3k - corrections for deprecation warnings reported by python2.6 -3.amajorek2010-03-091-1/+1
| | | | | | | - integer division - repr instead of ` Added __hash__ to speedy Proxy funtions - 3.x requires __hash__ if __eq__ is defined. Found problem with comparing two proxy objects.
* Converted hub_test to follow the test naming convention.Ryan Williams2010-01-081-0/+84