[gnome-photos/flatpak-ci: 2/4] tests: Switch the UI tests to Python 3
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/flatpak-ci: 2/4] tests: Switch the UI tests to Python 3
- Date: Tue, 25 Sep 2018 15:59:41 +0000 (UTC)
commit 58fd1c56a1fb1a0003a9cee493e883c5e48aaeb0
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Tue Sep 25 17:48:10 2018 +0200
tests: Switch the UI tests to Python 3
The use of Python 2 in the UI tests was related to Dogtail. These days
Dogtail supports Python 3 [1], and GNOME Photos has a Meson build
system that requires Python 3 anyway. Switching to Python 3 will make
distributors trying to move away from Python 2 (eg., Fedora and RHEL 8)
happier.
[1] https://gitlab.com/dogtail/dogtail/commit/36b6873eaaec61be
https://gitlab.gnome.org/GNOME/gnome-photos/merge_requests/46
tests/basic.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/basic.py b/tests/basic.py
index 5cdf04b0..604ec9cb 100755
--- a/tests/basic.py
+++ b/tests/basic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
from testutil import *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]