Python 2.7 will not be maintained beyond January 1, 2020.  To
avoid potential problems when python 2 is retired, this commit
explicitly instructs the functional tests to use python3.

Suggested-by: Michal Koutný <mkou...@suse.com>
Signed-off-by: Tom Hromatka <tom.hroma...@oracle.com>
---
 tests/ftests/001-cgget-basic_cgget.py | 2 +-
 tests/ftests/ftests.py                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ftests/001-cgget-basic_cgget.py 
b/tests/ftests/001-cgget-basic_cgget.py
index 9638335..be58869 100755
--- a/tests/ftests/001-cgget-basic_cgget.py
+++ b/tests/ftests/001-cgget-basic_cgget.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Basic cgget functionality test
 #
diff --git a/tests/ftests/ftests.py b/tests/ftests/ftests.py
index c8ec0ab..8f11ed6 100755
--- a/tests/ftests/ftests.py
+++ b/tests/ftests/ftests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Main entry point for the libcgroup functional tests
 #
-- 
2.21.0



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to