From 0061d9bd3ded0c1580211cb01d11ce38fe40b342 Mon Sep 17 00:00:00 2001 From: Matthew Duck Date: Tue, 11 Oct 2016 00:17:15 +0100 Subject: [PATCH] Fix flake8 (unused import, trailng whitespace) --- _pytest/assertion/__init__.py | 1 - testing/test_assertion.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/_pytest/assertion/__init__.py b/_pytest/assertion/__init__.py index 0cdb56e07..46a5b67e6 100644 --- a/_pytest/assertion/__init__.py +++ b/_pytest/assertion/__init__.py @@ -2,7 +2,6 @@ support for presenting detailed information in failing assertions. """ import py -import os import sys from _pytest.assertion import util diff --git a/testing/test_assertion.py b/testing/test_assertion.py index 24b3e719b..1c47440c3 100644 --- a/testing/test_assertion.py +++ b/testing/test_assertion.py @@ -579,7 +579,7 @@ class TestTruncateExplanation: # The number of lines in the truncation explanation message. Used # to calculate that results have the expected length. - LINES_IN_TRUNCATION_MSG = 2 + LINES_IN_TRUNCATION_MSG = 2 def test_doesnt_truncate_when_input_is_empty_list(self): expl = []