From 39cc78956090f7ee5ef4ee2b51a9ec2fe428af8b Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Thu, 19 Sep 2019 14:51:55 -0600 Subject: [PATCH] tests: Use python3 in the functional tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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ý Signed-off-by: Tom Hromatka Signed-off-by: Dhaval Giani --- 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 9638335f..be588692 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 c8ec0ab1..8f11ed6f 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.47.2