summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog4
-rwxr-xr-xbin/pytest2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3fda9e9..bea18b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,9 @@ ChangeLog for logilab.common
============================
--
- * graph: ensure output is orderd on node and graph ids (#202314)
+ * pytest: use 'env' to run the python interpreter
+
+ * graph: ensure output is ordered on node and graph ids (#202314)
2013-16-12 -- 0.60.1
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)