From 225f300ef3acd04c6d2c27d833a6a3cb03bc6317 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 14 Oct 2017 13:00:42 +0200 Subject: Remove some unused imports --- test/test_completion.py | 1 - test/test_logger.py | 3 +-- test/test_poopt.py | 2 -- test/test_windows.py | 3 +-- 4 files changed, 2 insertions(+), 7 deletions(-) (limited to 'test') 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  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(): -- cgit v1.2.3