We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66475a2 commit dbf0547Copy full SHA for dbf0547
1 file changed
Lib/test/test_difflib.py
@@ -361,11 +361,11 @@ def test_unified_diff_colored_output(self):
361
actual = list(difflib.unified_diff(*args, lineterm='', color=True))
362
363
expect = [
364
- "\033[1m--- Original\t2005-01-26 23:30:50\033[m",
365
- "\033[1m+++ Current\t2010-04-02 10:20:52\033[m",
366
- "\033[36m@@ -1,2 +1,2 @@\033[m",
367
- "\033[31m-one\033[m",
368
- "\033[32m+two\033[m",
+ "\033[1m--- Original\t2005-01-26 23:30:50\033[0m",
+ "\033[1m+++ Current\t2010-04-02 10:20:52\033[0m",
+ "\033[36m@@ -1,2 +1,2 @@\033[0m",
+ "\033[31m-one\033[0m",
+ "\033[32m+two\033[0m",
369
" three",
370
]
371
self.assertEqual(expect, actual)
0 commit comments