diff options
author | Benoit Pierre <benoit.pierre@gmail.com> | 2019-01-28 22:57:20 +0100 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-01-28 18:04:29 -0500 |
commit | f7447817b65c12dfe508249cea019c41ce0dc23f (patch) | |
tree | 7e3e67621556aeba50c5302928181558b60bb2b8 /setuptools/tests/environment.py | |
parent | 78fd73026ad7284819936b651f7cfbe8a1ec98c8 (diff) | |
download | external_python_setuptools-f7447817b65c12dfe508249cea019c41ce0dc23f.tar.gz external_python_setuptools-f7447817b65c12dfe508249cea019c41ce0dc23f.tar.bz2 external_python_setuptools-f7447817b65c12dfe508249cea019c41ce0dc23f.zip |
test: add a simple regression test for `build_ext`
Diffstat (limited to 'setuptools/tests/environment.py')
-rw-r--r-- | setuptools/tests/environment.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/tests/environment.py b/setuptools/tests/environment.py index c67898ca..bd3119ef 100644 --- a/setuptools/tests/environment.py +++ b/setuptools/tests/environment.py @@ -46,6 +46,8 @@ def run_setup_py(cmd, pypath=None, path=None, cmd, stdout=_PIPE, stderr=_PIPE, shell=shell, env=env, ) + if isinstance(data_stream, tuple): + data_stream = slice(*data_stream) data = proc.communicate()[data_stream] except OSError: return 1, '' |