summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/bookmarkstab.py2
-rw-r--r--test/test_completion.py1
-rw-r--r--test/test_logger.py3
-rw-r--r--test/test_poopt.py2
-rw-r--r--test/test_windows.py3
5 files changed, 3 insertions, 8 deletions
diff --git a/poezio/tabs/bookmarkstab.py b/poezio/tabs/bookmarkstab.py
index cdb983bb..452edd21 100644
--- a/poezio/tabs/bookmarkstab.py
+++ b/poezio/tabs/bookmarkstab.py
@@ -6,7 +6,7 @@ import logging
log = logging.getLogger(__name__)
from poezio import windows
-from poezio.bookmarks import Bookmark, BookmarkList, stanza_storage
+from poezio.bookmarks import Bookmark, BookmarkList
from poezio.tabs import Tab
from poezio.common import safeJID
diff --git a/test/test_completion.py b/test/test_completion.py
index e3d7b950..4c5bc400 100644
--- a/test/test_completion.py
+++ b/test/test_completion.py
@@ -5,7 +5,6 @@ Test the completions methods on an altered input object.
import string
import pytest
import random
-import os
class ConfigShim(object):
def get(self, *args, **kwargs):
diff --git a/test/test_logger.py b/test/test_logger.py
index d0e2a89b..b2f7c335 100644
--- a/test/test_logger.py
+++ b/test/test_logger.py
@@ -2,8 +2,7 @@
Test the functions in the `logger` module
"""
-import pytest
-from poezio.logger import LogInfo, LogMessage, parse_log_line
+from poezio.logger import LogMessage, parse_log_line
def test_parse_message():
line = 'MR 20170909T09:09:09Z 000 <nick>  body'
diff --git a/test/test_poopt.py b/test/test_poopt.py
index 54d0c918..0ad8f8c7 100644
--- a/test/test_poopt.py
+++ b/test/test_poopt.py
@@ -2,8 +2,6 @@
Test of the poopt module
"""
-import pytest
-
from poezio.poopt import cut_text
def test_cut_text():
diff --git a/test/test_windows.py b/test/test_windows.py
index 8623342b..cb7c86b7 100644
--- a/test/test_windows.py
+++ b/test/test_windows.py
@@ -6,9 +6,8 @@ class ConfigShim(object):
from poezio import config
config.config = ConfigShim()
-from poezio import core
-from poezio.windows import Input, HistoryInput, MessageInput, CommandInput
+from poezio.windows import Input, HistoryInput, MessageInput
@pytest.fixture
def input():