Skip to content

Commit 7910c41

Browse files
author
John Lago
committed
Fix test somehow
1 parent 3e248ae commit 7910c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/pip/venvShellHook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ -f "$STATE_FILE" ]; then
2222
fi
2323

2424
# Check that Python version supports venv
25-
if ! python -c "import venv" &>/dev/null; then
25+
if ! python -c 'import venv' 1> /dev/null 2> /dev/null; then
2626
echo "\033[1;33mWARNING: Python version must be > 3.3 to create a virtual environment.\033[0m"
2727
touch "$STATE_FILE"
2828
exit 1

0 commit comments

Comments
 (0)