summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2018-06-19 14:43:35 +0200
committerLucas Hoffmann <l-m-h@web.de>2018-06-19 14:48:54 +0200
commitbb6f52d23f26a163a9c4fc49ee4fe749b9e3af7c (patch)
tree94265330079fdf22419fc34941431ed2f0f13d1f /tests
parentf52c43cbcc06a426d29da122b7682ba69c38c22e (diff)
Remove old __future__ imports
They are not needed for python >= 3.0.
Diffstat (limited to 'tests')
-rw-r--r--tests/addressbook/abook_test.py2
-rw-r--r--tests/addressbook/external_test.py2
-rw-r--r--tests/addressbook/init_test.py2
-rw-r--r--tests/commands/envelope_test.py1
-rw-r--r--tests/commands/global_test.py1
-rw-r--r--tests/commands/init_test.py2
-rw-r--r--tests/commands/thread_test.py2
-rw-r--r--tests/commands/utils_tests.py1
-rw-r--r--tests/completion_test.py2
-rw-r--r--tests/crypto_test.py2
-rw-r--r--tests/db/envelope_test.py2
-rw-r--r--tests/db/message_test.py1
-rw-r--r--tests/db/thread_test.py2
-rw-r--r--tests/db/utils_test.py2
-rw-r--r--tests/helper_test.py1
-rw-r--r--tests/settings/manager_test.py2
-rw-r--r--tests/settings/theme_test.py2
-rw-r--r--tests/settings/utils_test.py2
-rw-r--r--tests/utilities.py2
-rw-r--r--tests/utils/argparse_test.py2
-rw-r--r--tests/utils/configobj_test.py2
-rw-r--r--tests/widgets/globals_test.py2
22 files changed, 0 insertions, 39 deletions
diff --git a/tests/addressbook/abook_test.py b/tests/addressbook/abook_test.py
index c5686caf..13452fb3 100644
--- a/tests/addressbook/abook_test.py
+++ b/tests/addressbook/abook_test.py
@@ -1,8 +1,6 @@
# Copyright (C) 2017 Lucas Hoffmann
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import os
import tempfile
import unittest
diff --git a/tests/addressbook/external_test.py b/tests/addressbook/external_test.py
index 99aacfd3..ca76cc50 100644
--- a/tests/addressbook/external_test.py
+++ b/tests/addressbook/external_test.py
@@ -1,8 +1,6 @@
# Copyright (C) 2017 Lucas Hoffmann
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import unittest
import mock
diff --git a/tests/addressbook/init_test.py b/tests/addressbook/init_test.py
index 7f642933..d8f96af2 100644
--- a/tests/addressbook/init_test.py
+++ b/tests/addressbook/init_test.py
@@ -1,8 +1,6 @@
# Copyright (C) 2017 Lucas Hoffmann
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import unittest
from alot import addressbook
diff --git a/tests/commands/envelope_test.py b/tests/commands/envelope_test.py
index ee1c0acc..e46b33a1 100644
--- a/tests/commands/envelope_test.py
+++ b/tests/commands/envelope_test.py
@@ -16,7 +16,6 @@
"""Tests for the alot.commands.envelope module."""
-from __future__ import absolute_import
import contextlib
import email
import os
diff --git a/tests/commands/global_test.py b/tests/commands/global_test.py
index 850c9447..53556c0f 100644
--- a/tests/commands/global_test.py
+++ b/tests/commands/global_test.py
@@ -16,7 +16,6 @@
"""Tests for global commands."""
-from __future__ import absolute_import
import os
import tempfile
diff --git a/tests/commands/init_test.py b/tests/commands/init_test.py
index 15eb06df..a2b358ff 100644
--- a/tests/commands/init_test.py
+++ b/tests/commands/init_test.py
@@ -2,8 +2,6 @@
"""Test suite for alot.commands.__init__ module."""
-from __future__ import absolute_import
-
import argparse
import unittest
diff --git a/tests/commands/thread_test.py b/tests/commands/thread_test.py
index 81328410..315273c5 100644
--- a/tests/commands/thread_test.py
+++ b/tests/commands/thread_test.py
@@ -4,8 +4,6 @@
# For further details see the COPYING file
"""Test suite for alot.commands.thread module."""
-from __future__ import absolute_import
-
import email
import unittest
diff --git a/tests/commands/utils_tests.py b/tests/commands/utils_tests.py
index c17473dc..c4e4805a 100644
--- a/tests/commands/utils_tests.py
+++ b/tests/commands/utils_tests.py
@@ -14,7 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from __future__ import absolute_import
import tempfile
import os
import shutil
diff --git a/tests/completion_test.py b/tests/completion_test.py
index 15a80a89..79f07e1b 100644
--- a/tests/completion_test.py
+++ b/tests/completion_test.py
@@ -4,8 +4,6 @@
# For further details see the COPYING file
"""Tests for the alot.completion module."""
-from __future__ import absolute_import
-
import unittest
import mock
diff --git a/tests/crypto_test.py b/tests/crypto_test.py
index c3db1055..56cc999d 100644
--- a/tests/crypto_test.py
+++ b/tests/crypto_test.py
@@ -1,8 +1,6 @@
# Copyright (C) 2017 Lucas Hoffmann
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import os
import shutil
import signal
diff --git a/tests/db/envelope_test.py b/tests/db/envelope_test.py
index 14f5fa1f..4037daa2 100644
--- a/tests/db/envelope_test.py
+++ b/tests/db/envelope_test.py
@@ -1,6 +1,4 @@
# encoding=utf-8
-from __future__ import absolute_import
-
import unittest
from alot.db import envelope
diff --git a/tests/db/message_test.py b/tests/db/message_test.py
index 4aa88223..caa70a44 100644
--- a/tests/db/message_test.py
+++ b/tests/db/message_test.py
@@ -14,7 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from __future__ import absolute_import
import unittest
import mock
diff --git a/tests/db/thread_test.py b/tests/db/thread_test.py
index 8e4a5003..e3e398eb 100644
--- a/tests/db/thread_test.py
+++ b/tests/db/thread_test.py
@@ -15,8 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Tests for the alot.db.thread module."""
-from __future__ import absolute_import
-
import datetime
import unittest
diff --git a/tests/db/utils_test.py b/tests/db/utils_test.py
index 484562fc..9e411e3d 100644
--- a/tests/db/utils_test.py
+++ b/tests/db/utils_test.py
@@ -3,8 +3,6 @@
# Copyright © 2017 Dylan Baker
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import base64
import codecs
import email
diff --git a/tests/helper_test.py b/tests/helper_test.py
index 1d20caa8..b1300c7d 100644
--- a/tests/helper_test.py
+++ b/tests/helper_test.py
@@ -17,7 +17,6 @@
"""Test suite for alot.helper module."""
-from __future__ import absolute_import
import datetime
import email
import errno
diff --git a/tests/settings/manager_test.py b/tests/settings/manager_test.py
index d04e244d..dec676b3 100644
--- a/tests/settings/manager_test.py
+++ b/tests/settings/manager_test.py
@@ -4,8 +4,6 @@
"""Test suite for alot.settings.manager module."""
-from __future__ import absolute_import
-
import os
import tempfile
import textwrap
diff --git a/tests/settings/theme_test.py b/tests/settings/theme_test.py
index abc541e3..b3f90661 100644
--- a/tests/settings/theme_test.py
+++ b/tests/settings/theme_test.py
@@ -2,8 +2,6 @@
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from __future__ import absolute_import
-
import unittest
from alot.settings import theme
diff --git a/tests/settings/utils_test.py b/tests/settings/utils_test.py
index d88ed55f..869054ce 100644
--- a/tests/settings/utils_test.py
+++ b/tests/settings/utils_test.py
@@ -4,8 +4,6 @@
"""Tests for the alot.setting.utils module."""
-from __future__ import absolute_import
-
import unittest
import mock
diff --git a/tests/utilities.py b/tests/utilities.py
index 85f3d3eb..2f5d2611 100644
--- a/tests/utilities.py
+++ b/tests/utilities.py
@@ -16,8 +16,6 @@
"""Helpers for unittests themselves."""
-from __future__ import absolute_import
-
import functools
import unittest
diff --git a/tests/utils/argparse_test.py b/tests/utils/argparse_test.py
index ff339b26..a793d5cf 100644
--- a/tests/utils/argparse_test.py
+++ b/tests/utils/argparse_test.py
@@ -16,8 +16,6 @@
"""Tests for alot.utils.argparse"""
-from __future__ import absolute_import
-
import argparse
import contextlib
import os
diff --git a/tests/utils/configobj_test.py b/tests/utils/configobj_test.py
index 65747328..bc1babab 100644
--- a/tests/utils/configobj_test.py
+++ b/tests/utils/configobj_test.py
@@ -1,6 +1,4 @@
# encoding=utf-8
-from __future__ import absolute_import
-
import unittest
from alot.utils import configobj as checks
diff --git a/tests/widgets/globals_test.py b/tests/widgets/globals_test.py
index bcbf51e1..a52a721c 100644
--- a/tests/widgets/globals_test.py
+++ b/tests/widgets/globals_test.py
@@ -16,8 +16,6 @@
"""Tests for the alot.widgets.globals module."""
-from __future__ import absolute_import
-
import unittest
import mock