summaryrefslogtreecommitdiff
path: root/tests/subprocess_test.py
Commit message (Collapse)AuthorAgeFilesLines
* subprocess: Fix patched functions with optional argumentssubprocessJakub Stasiak2016-07-111-0/+10
| | | | | | | | | | | | | | Since [1] we monkey patch subprocess module and it uncovered one issue - the previous patched_function implementation would produce functions with all optional arguments lacking their default values which made them required. This is an issue on Python 3 where there's at least one optional explicit argument in at least one of the functions (check_call), on Python 2 the function signature has *args and **kwargs so it wasn't an issue. This patch is contributed by Smarkets Limited. [1] 614a20462aebfe85a54ce35a7daaf1a7dbde44a7
* patcher: certain order of import subprocess and monkey_patch breaks ↵issue-290Sergey Shepelev2016-01-241-2/+12
| | | | | | .communicate() https://github.com/eventlet/eventlet/issues/290
* subprocess: support universal_newlinesSergey Shepelev2015-09-161-0/+9
| | | | https://github.com/eventlet/eventlet/issues/243
* Do not close fileno if GreenFileIO marked as closedVictor Sergeyev2015-03-181-0/+19
| | | | Fast-and-dirty attempt to fix issue #204
* Stop skipping a test unnecessarilyJakub Stasiak2015-02-111-3/+3
|
* Fix typos detected by toolkit misspellingsChangBo Guo(gcb)2015-02-071-1/+1
| | | | | | | * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Closes GH #194
* Fix __str__ method on the TimeoutExpired exception class. Also fix argumentTomaz Muraus2014-11-121-3/+6
| | | | | | | | | | order in the class constructor so it uses the same order as the actual class from Python 3.3 and above. TimeoutExpired from Python 3.3 takes arguments in the following order: cmd, timeout, output. See https://github.com/python/cpython/blob/master/Lib/subprocess.py#L388
* PEP-8 fixesSergey Shepelev2014-08-271-2/+1
|
* tests: subprocess.communicate block on Python 2.7Sergey Shepelev2013-06-131-15/+35
| | | | | https://github.com/eventlet/eventlet/pull/24 + PEP8 fix tabs
* green: subprocess: Popen.wait accepts new `timeout` kwargSergey Shepelev2013-06-071-0/+25
As in Python 3.3 http://docs.python.org/3.3/library/subprocess.html#subprocess.Popen.wait https://bitbucket.org/eventlet/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen https://bitbucket.org/eventlet/eventlet/pull-request/30