Corrected opts argument of colorize in TermColorTests.test_colorize_empty_text().

This commit is contained in:
Rasmus Wriedt Larsen 2020-05-04 11:34:08 +02:00 committed by GitHub
parent c00bc27945
commit f6d0bd208a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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')