#23 Also test plain ensurepip in smoke tests
Merged 2 years ago by churchyard. Opened 2 years ago by churchyard.
tests/ churchyard/python ensurepip  into  master

file modified
+5 -1
@@ -10,7 +10,7 @@ 

  TOX=${TOX:-true}

  

  # clean from possible older runs

- rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || :

+ rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so ensurepiptestroot || :

  

  # check the we can create the venv

  if [ "$METHOD" == "venv" ]; then
@@ -87,6 +87,10 @@ 

  deactivate

  set -u

  

+ # ensurepip test (when testing virtualenv, this was not covered)

+ # with the main Python, this will say "Requirement already satisfied", but that's OK

+ $PYTHON -m ensurepip --root ensurepiptestroot

+ 

  # use it with tox

  [[ "$TOX" != "true" ]] && exit 0

  if [[ $PYTHON == python* ]]; then

Pull-Request has been merged by churchyard

2 years ago