Skip to content

Commit 57b80d1

Browse files
committed
force_colorized
1 parent 8a10e40 commit 57b80d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_difflib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import difflib
2-
from test.support import findfile
2+
from test.support import findfile, force_colorized
33
import unittest
44
import doctest
55
import sys
@@ -355,6 +355,7 @@ def test_range_format_context(self):
355355
self.assertEqual(fmt(3,6), '4,6')
356356
self.assertEqual(fmt(0,0), '0')
357357

358+
@force_colorized
358359
def test_unified_diff_colored_output(self):
359360
args = [['one', 'three'], ['two', 'three'], 'Original', 'Current',
360361
'2005-01-26 23:30:50', '2010-04-02 10:20:52']

0 commit comments

Comments
 (0)