default to 'python' when not running test suite
This commit is contained in:
parent
8e1040c20a
commit
be3b5b38f4
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
[ -z "${BETEXC_PYTHON}" ] && export BETEXC_PYTHON=python
|
||||
|
||||
/usr/bin/expect -f - <<EOF
|
||||
spawn ${BETEXC_PYTHON} -m better_exceptions -q
|
||||
expect ">>> "
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
[ -z "${BETEXC_PYTHON}" ] && export BETEXC_PYTHON=python
|
||||
|
||||
/usr/bin/expect -f - <<EOF
|
||||
spawn ${BETEXC_PYTHON} -m test_util.quiet_console
|
||||
expect ">>> "
|
||||
|
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
[ -z "${BETEXC_PYTHON}" ] && export BETEXC_PYTHON=python
|
||||
|
||||
TEST_STR='import better_exceptions; a = 5; assert a > 10'
|
||||
|
||||
"${BETEXC_PYTHON}" -c "${TEST_STR}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user