summaryrefslogtreecommitdiff
path: root/framework/test/opencv.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-10-31 11:05:41 -0700
committerMarge Bot <eric+marge@anholt.net>2020-02-13 19:09:15 +0000
commit19eb8323c8c96b786520d2e57741ae9e96be740c (patch)
tree233ec9c13a3d9383cc58063496ec3ebb62e4250f /framework/test/opencv.py
parent740649eaff3af7738548d899c5404c487d529f75 (diff)
drop python2 support
This removes all of the python code for handling python 2.x vs 3.x, now only 3.6+ is supported. This also drops all uses of the six module, as its no longer needed. Python 2.x and <= 3.5 are all EOL, it doesn't make sense to continue to support version of python that are at the end of their lives and are being removed from operating systems. Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/merge_requests/223>
Diffstat (limited to 'framework/test/opencv.py')
-rw-r--r--framework/test/opencv.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index 3cbdb02f8..c107d2495 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -1,5 +1,5 @@
# coding=utf-8
-# Copyright 2016 Intel Corporation
+# Copyright 2016, 2019 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
@@ -24,9 +24,6 @@
# Authors: Tom Stellard <thomas.stellard@amd.com>
#
-from __future__ import (
- absolute_import, division, print_function, unicode_literals
-)
import re
import subprocess
from os import path