Merge pull request #233083 from rhendric/rhendric/python311Packages.virtualenv-clone
python311Packages.virtualenv-clone: fix tests
This commit is contained in:
commit
22674f899f
|
@ -19,7 +19,8 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/__init__.py \
|
||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'" \
|
||||
--replace "'3.9', '3.10']" "'3.9', '3.10', '3.11']" # if the Python version used isn't in this list, tests fail
|
||||
|
||||
substituteInPlace tests/test_virtualenv_sys.py \
|
||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
||||
|
|
Loading…
Reference in a new issue