From f6d0bd208ab44e6b2dfc2da6265c9632bc0a05c6 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Mon, 4 May 2020 11:34:08 +0200 Subject: [PATCH] Corrected opts argument of colorize in TermColorTests.test_colorize_empty_text(). --- tests/utils_tests/test_termcolors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils_tests/test_termcolors.py b/tests/utils_tests/test_termcolors.py index ca5e8fc1fa..0f517d1391 100644 --- a/tests/utils_tests/test_termcolors.py +++ b/tests/utils_tests/test_termcolors.py @@ -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')