cleanup tests by removal of unused code elements

This commit is contained in:
Rahul Kumaresan
2021-05-07 17:56:35 +05:30
parent 80acc0ed6f
commit 9e11d645b1

View File

@@ -18,10 +18,6 @@ def test_coloredlogformatter() -> None:
exc_info=None,
)
class ColorConfig:
class option:
pass
tw = TerminalWriter()
tw.hasmarkup = True
formatter = ColoredLevelFormatter(tw, logfmt)
@@ -49,10 +45,6 @@ def test_coloredlogformatter_with_width_precision() -> None:
exc_info=None,
)
class ColorConfig:
class option:
pass
tw = TerminalWriter()
tw.hasmarkup = True
formatter = ColoredLevelFormatter(tw, logfmt)