Blame SOURCES/0026-tests-Switch-test-runner-to-Python3.patch

fc9b0e
From 9380eba133bcc941437e2b0d664f550f6854d63b Mon Sep 17 00:00:00 2001
fc9b0e
Message-Id: <9380eba133bcc941437e2b0d664f550f6854d63b.1566225007.git.aquini@redhat.com>
fc9b0e
In-Reply-To: <d42f467a923dfc09309acb7a83b42e3285fbd8f4.1566225007.git.aquini@redhat.com>
fc9b0e
References: <d42f467a923dfc09309acb7a83b42e3285fbd8f4.1566225007.git.aquini@redhat.com>
fc9b0e
From: David Gibson <david@gibson.dropbear.id.au>
fc9b0e
Date: Sat, 17 Aug 2019 20:59:50 +1000
fc9b0e
Subject: [RHEL7 PATCH 26/31] tests: Switch test runner to Python3
fc9b0e
fc9b0e
Python2 has been end-of-life for a while now, and some distros are no
fc9b0e
longer installing it by default.
fc9b0e
fc9b0e
Previous cleanups mean the script is now both valid Python2 and Python3,
fc9b0e
so we can simply change the interpreter.
fc9b0e
fc9b0e
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
fc9b0e
Signed-off-by: Eric B Munson <eric@munsonfam.org>
fc9b0e
Signed-off-by: Rafael Aquini <aquini@redhat.com>
fc9b0e
---
fc9b0e
 tests/run_tests.py | 2 +-
fc9b0e
 1 file changed, 1 insertion(+), 1 deletion(-)
fc9b0e
fc9b0e
diff --git a/tests/run_tests.py b/tests/run_tests.py
fc9b0e
index 2847417..018264d 100755
fc9b0e
--- a/tests/run_tests.py
fc9b0e
+++ b/tests/run_tests.py
fc9b0e
@@ -1,4 +1,4 @@
fc9b0e
-#! /usr/bin/python2
fc9b0e
+#! /usr/bin/python3
fc9b0e
 
fc9b0e
 from __future__ import print_function
fc9b0e
 from __future__ import division
fc9b0e
-- 
fc9b0e
1.8.3.1
fc9b0e