summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristophe de Vienne <cdevienne@gmail.com>2013-11-13 18:11:55 +0100
committerChristophe de Vienne <cdevienne@gmail.com>2013-11-13 18:11:55 +0100
commitabbc4eced3f413d92b0d007f30d37d74b25dce40 (patch)
treea42456d2be3d281fe0dec17629f07fa8252ada69 /bin
parent9e859c4f6436385d937bb96b949bc66cf6c18bab (diff)
downloadlogilab-common-abbc4eced3f413d92b0d007f30d37d74b25dce40.tar.gz
Use 'env' to run the interpreter.
The drawback is that we cannot use the unbuffered outputs (-u) but I am not so sure it is an issue.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pytest2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pytest b/bin/pytest
index 88f74ae..42df302 100755
--- a/bin/pytest
+++ b/bin/pytest
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import warnings
warnings.simplefilter('default', DeprecationWarning)