manual: remove dependence on six

This commit is contained in:
Anthony Sottile
2019-06-02 15:53:45 -07:00
committed by Bruno Oliveira
parent ca1efd57bd
commit 5dcf85c17e
11 changed files with 42 additions and 56 deletions

View File

@@ -1,9 +1,7 @@
import logging
import py.io
import six
import pytest
from _pytest.logging import ColoredLevelFormatter
@@ -38,9 +36,6 @@ def test_coloredlogformatter():
assert output == ("dummypath 10 INFO Test Message")
@pytest.mark.skipif(
six.PY2, reason="Formatter classes don't support format styles in PY2"
)
def test_multiline_message():
from _pytest.logging import PercentStyleMultiline