python311Packages.virtualenv-clone: fix tests
This commit is contained in:
parent
95483d41fa
commit
b182c03d1c
|
@ -19,7 +19,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tests/__init__.py \
|
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 \
|
substituteInPlace tests/test_virtualenv_sys.py \
|
||||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
||||||
|
|
Loading…
Reference in a new issue