cleanup tests by removal of unused code elements
This commit is contained in:
parent
80acc0ed6f
commit
9e11d645b1
|
@ -18,10 +18,6 @@ def test_coloredlogformatter() -> None:
|
||||||
exc_info=None,
|
exc_info=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
class ColorConfig:
|
|
||||||
class option:
|
|
||||||
pass
|
|
||||||
|
|
||||||
tw = TerminalWriter()
|
tw = TerminalWriter()
|
||||||
tw.hasmarkup = True
|
tw.hasmarkup = True
|
||||||
formatter = ColoredLevelFormatter(tw, logfmt)
|
formatter = ColoredLevelFormatter(tw, logfmt)
|
||||||
|
@ -49,10 +45,6 @@ def test_coloredlogformatter_with_width_precision() -> None:
|
||||||
exc_info=None,
|
exc_info=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
class ColorConfig:
|
|
||||||
class option:
|
|
||||||
pass
|
|
||||||
|
|
||||||
tw = TerminalWriter()
|
tw = TerminalWriter()
|
||||||
tw.hasmarkup = True
|
tw.hasmarkup = True
|
||||||
formatter = ColoredLevelFormatter(tw, logfmt)
|
formatter = ColoredLevelFormatter(tw, logfmt)
|
||||||
|
|
Loading…
Reference in New Issue