Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
kingarrrt committed Oct 22, 2014
1 parent 4c649f4 commit eb8d91b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions yanc/test_yanc.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@
import unittest2
except ImportError:
pass
else: # pragma: no cover - unittest shim for those that don't have it
else: # pragma: no cover - unittest shim for those that don't have it
import sys
sys.modules["unittest"] = unittest2

from yanc.yancplugin import YancPlugin


EXCEPTION_PLAIN = \
"""EF
EXCEPTION_PLAIN = """EF
======================================================================
ERROR: runTest (yanc.test_yanc.TC1)
----------------------------------------------------------------------
Expand All @@ -56,8 +55,7 @@
FAILED (errors=1, failures=1)
"""

EXCEPTION_COLOR = \
"""\x1b[31mE\x1b[0m\x1b[33mF\x1b[0m
EXCEPTION_COLOR = """\x1b[31mE\x1b[0m\x1b[33mF\x1b[0m
\x1b[34m======================================================================\x1b[0m
\x1b[31mERROR:\x1b[0m runTest (yanc.test_yanc.TC1)
\x1b[34m----------------------------------------------------------------------\x1b[0m
Expand Down

0 comments on commit eb8d91b

Please sign in to comment.