Skip to content

Commit af0f6fd

Browse files
committed
PYTHON-1955 Uninstall pymongocrypt after test suite
1 parent ef8d1e2 commit af0f6fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.evergreen/run-tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ if [ -n "$TEST_ENCRYPTION" ]; then
106106

107107
git clone --branch master [email protected]:mongodb/libmongocrypt.git libmongocrypt_git
108108
$PYTHON -m pip install --upgrade ./libmongocrypt_git/bindings/python
109+
# TODO: use a virtualenv
110+
trap "$PYTHON -m pip uninstall -y pymongocrypt" EXIT HUP
109111
$PYTHON -c "import pymongocrypt; print('pymongocrypt version: '+pymongocrypt.__version__)"
110112
$PYTHON -c "import pymongocrypt; print('libmongocrypt version: '+pymongocrypt.libmongocrypt_version())"
111113
# PATH is set by PREPARE_SHELL.

0 commit comments

Comments
 (0)