Skip to content

Commit cfd29aa

Browse files
committed
Mock is also used
1 parent da5401f commit cfd29aa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/create_testenv.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,16 @@ then
3535
fi
3636

3737
pip install --upgrade pip
38+
39+
# Install editable using the setup.py
3840
pip install -e .
39-
pip install pytest pytest-cov nose-parameterized==0.6.0 pylint
41+
42+
# Install extra testing stuff
43+
if [ ${PYTHON_VERSION} == "2.7" ]; then
44+
pip install mock
45+
fi
46+
47+
pip install pytest pytest-cov nose-parameterized pylint
4048

4149
if [ -z ${NO_SETUP} ]; then
4250
python setup.py build_ext --inplace

0 commit comments

Comments
 (0)