summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-05-14 11:25:02 -0400
committerGitHub <noreply@github.com>2020-05-14 11:25:02 -0400
commit4261ae538563d262bc76b8c55f7cc0c8abb14b00 (patch)
treea6611d0c392a165af434ba2185a83cb1b84b734a /tests
parentb73b319094b133bf47038ab41f29cc9507bdc5bd (diff)
downloadvyos-cloud-init-4261ae538563d262bc76b8c55f7cc0c8abb14b00.tar.gz
vyos-cloud-init-4261ae538563d262bc76b8c55f7cc0c8abb14b00.zip
cloudinit: remove unneeded __future__ imports (#362)
We live in the future now.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_cs_util.py2
-rw-r--r--tests/unittests/test_datasource/test_smartos.py2
-rw-r--r--tests/unittests/test_templating.py2
-rw-r--r--tests/unittests/test_util.py2
4 files changed, 0 insertions, 8 deletions
diff --git a/tests/unittests/test_cs_util.py b/tests/unittests/test_cs_util.py
index 2a1095b9..bfd07ecf 100644
--- a/tests/unittests/test_cs_util.py
+++ b/tests/unittests/test_cs_util.py
@@ -1,7 +1,5 @@
# This file is part of cloud-init. See LICENSE file for license information.
-from __future__ import print_function
-
from cloudinit.tests import helpers as test_helpers
from cloudinit.cs_utils import Cepko
diff --git a/tests/unittests/test_datasource/test_smartos.py b/tests/unittests/test_datasource/test_smartos.py
index 0f0b42bb..f1ab1d7a 100644
--- a/tests/unittests/test_datasource/test_smartos.py
+++ b/tests/unittests/test_datasource/test_smartos.py
@@ -12,8 +12,6 @@ order to validate return responses.
'''
-from __future__ import print_function
-
from binascii import crc32
import json
import multiprocessing
diff --git a/tests/unittests/test_templating.py b/tests/unittests/test_templating.py
index c36e6eb0..cba09830 100644
--- a/tests/unittests/test_templating.py
+++ b/tests/unittests/test_templating.py
@@ -4,8 +4,6 @@
#
# This file is part of cloud-init. See LICENSE file for license information.
-from __future__ import print_function
-
from cloudinit.tests import helpers as test_helpers
import textwrap
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py
index e45bedc1..4b439267 100644
--- a/tests/unittests/test_util.py
+++ b/tests/unittests/test_util.py
@@ -1,7 +1,5 @@
# This file is part of cloud-init. See LICENSE file for license information.
-from __future__ import print_function
-
import io
import json
import logging