Corrected opts argument of colorize in TermColorTests.test_colorize_empty_text().
This commit is contained in:
parent
c00bc27945
commit
f6d0bd208a
|
@ -181,5 +181,5 @@ class TermColorTests(unittest.TestCase):
|
|||
self.assertEqual(colorize(text=None), '\x1b[m\x1b[0m')
|
||||
self.assertEqual(colorize(text=''), '\x1b[m\x1b[0m')
|
||||
|
||||
self.assertEqual(colorize(text=None, opts=('noreset')), '\x1b[m')
|
||||
self.assertEqual(colorize(text='', opts=('noreset')), '\x1b[m')
|
||||
self.assertEqual(colorize(text=None, opts=('noreset',)), '\x1b[m')
|
||||
self.assertEqual(colorize(text='', opts=('noreset',)), '\x1b[m')
|
||||
|
|
Loading…
Reference in New Issue