Commits

Doug Hellmann  committed 28d76af

remove directories likely to contain a site-wide virtualenv installation and hide the error message because we expect mkvirtualenv to fail

  • Participants
  • Parent commits b8c69bf

Comments (0)

Files changed (1)

File tests/test_mkvirtualenv.sh

 
 test_no_virtualenv () {
     old_path="$PATH"
-    PATH="/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$HOME/bin"
-    mkvirtualenv should_not_be_created # 2>/dev/null
+    PATH="/usr/bin:/bin:/usr/sbin:/sbin"
+    mkvirtualenv should_not_be_created 2>/dev/null
     RC=$?
     # Restore the path before testing because
     # the test script depends on commands in the