aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-05-07 09:43:15 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-07 15:10:41 -0500
commit1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a (patch)
tree51d34499aa91d7555338952f946a9f6c48ea0b71 /host/tests
parent75b7991378e3f465f9d91cba597d98ee5b9054ed (diff)
downloaduhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.tar.gz
uhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.tar.bz2
uhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.zip
Remove remaining Python 2 references
This changes two things in all applicable files: - Remove imports from __future__ - Change default shebangs from /usr/bin/env python to /usr/bin/env python3
Diffstat (limited to 'host/tests')
-rwxr-xr-xhost/tests/devtest/multi_usrp_test.py1
-rw-r--r--host/tests/devtest/python_api_test.py1
-rwxr-xr-xhost/tests/devtest/run_testsuite.py1
-rwxr-xr-xhost/tests/devtest/uhd_test_base.py1
-rw-r--r--host/tests/devtest/usrp_probe.py1
5 files changed, 0 insertions, 5 deletions
diff --git a/host/tests/devtest/multi_usrp_test.py b/host/tests/devtest/multi_usrp_test.py
index 04baf904e..aa95cf54f 100755
--- a/host/tests/devtest/multi_usrp_test.py
+++ b/host/tests/devtest/multi_usrp_test.py
@@ -5,7 +5,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
""" Test all python API functions for the connected device. """
-from __future__ import print_function
import sys
import argparse
import numpy
diff --git a/host/tests/devtest/python_api_test.py b/host/tests/devtest/python_api_test.py
index feccd91f9..d9fcda0b0 100644
--- a/host/tests/devtest/python_api_test.py
+++ b/host/tests/devtest/python_api_test.py
@@ -6,7 +6,6 @@
#
""" Test Python API """
-from __future__ import print_function
import os
from uhd_test_base import shell_application
from uhd_test_base import uhd_test_case
diff --git a/host/tests/devtest/run_testsuite.py b/host/tests/devtest/run_testsuite.py
index 650f34fa3..0c82fe9c6 100755
--- a/host/tests/devtest/run_testsuite.py
+++ b/host/tests/devtest/run_testsuite.py
@@ -9,7 +9,6 @@
Device test runner.
"""
-from __future__ import print_function
import os
import sys
import subprocess
diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py
index 9f710b7be..11ff9b026 100755
--- a/host/tests/devtest/uhd_test_base.py
+++ b/host/tests/devtest/uhd_test_base.py
@@ -10,7 +10,6 @@
Devtest: Base module. Provides classes for running devtest tests.
"""
-from __future__ import print_function
import os
import sys
import unittest
diff --git a/host/tests/devtest/usrp_probe.py b/host/tests/devtest/usrp_probe.py
index e6c09d53f..b9afd4d50 100644
--- a/host/tests/devtest/usrp_probe.py
+++ b/host/tests/devtest/usrp_probe.py
@@ -7,7 +7,6 @@
#
""" Run uhd_find_devices and parse the output. """
-from __future__ import print_function
import re
import subprocess