Commit 1e35add8 authored by Xavier Thompson's avatar Xavier Thompson

[fixup] Adapt build dependencies tests to Python2

Fixup "[test] Add tests for build dependencies"
parent f409109d
......@@ -3661,7 +3661,7 @@ def test_missing_setup_requires_fails():
... versions = dict(withsetuprequires='0.1')) # doctest: +ELLIPSIS
Traceback (most recent call last):
...
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1.
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1...
>>> zc.buildout.easy_install.allow_picked_versions(True)
False
"""
......@@ -3711,7 +3711,7 @@ def test_missing_build_system_requires_fails():
... # doctest: +ELLIPSIS
Traceback (most recent call last):
...
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1.
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1...
>>> zc.buildout.easy_install.allow_picked_versions(True)
False
"""
......@@ -3765,12 +3765,8 @@ def test_pin_setup_requires_without_setup_eggs():
>>> print(system(join('bin', 'buildout'))) # doctest: +ELLIPSIS
Installing withsetuprequires.
Getting distribution for 'withsetuprequires==0.1'.
error: subprocess-exited-with-error
<BLANKLINE>
× python setup.py egg_info did not run successfully.
│ exit code: 1
...
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1.
...CalledProcessError: ...pip...wheel... non-zero exit status 1...
<BLANKLINE>
"""
......@@ -3819,12 +3815,8 @@ def test_pin_build_system_requires_without_setup_eggs():
>>> print(system(join('bin', 'buildout'))) # doctest: +ELLIPSIS
Installing withbuildsystemrequires.
Getting distribution for 'withbuildsystemrequires==0.1'.
error: subprocess-exited-with-error
<BLANKLINE>
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
...
subprocess.CalledProcessError: ...pip...wheel... non-zero exit status 1.
...CalledProcessError: ...pip...wheel... non-zero exit status 1...
<BLANKLINE>
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment