Refresh patches.
Debian Janitor
2 years ago
0 | --- a/humanfriendly/tests.py | |
1 | +++ b/humanfriendly/tests.py | |
0 | Index: humanfriendly/humanfriendly/tests.py | |
1 | =================================================================== | |
2 | --- humanfriendly.orig/humanfriendly/tests.py | |
3 | +++ humanfriendly/humanfriendly/tests.py | |
2 | 4 | @@ -124,6 +124,7 @@ from humanfriendly.usage import ( |
3 | 5 | |
4 | 6 | # Test dependencies. |
7 | 9 | |
8 | 10 | |
9 | 11 | class HumanFriendlyTestCase(TestCase): |
10 | @@ -1088,6 +1089,7 @@ class HumanFriendlyTestCase(TestCase): | |
12 | @@ -1094,6 +1095,7 @@ class HumanFriendlyTestCase(TestCase): | |
11 | 13 | self.assertEqual([], capturer.stdout.get_lines()) |
12 | 14 | self.assertEqual([text], capturer.stderr.get_lines()) |
13 | 15 | |
15 | 17 | def test_generate_warning(self): |
16 | 18 | """Test the :func:`humanfriendly.terminal.warning()` function.""" |
17 | 19 | from capturer import CaptureOutput |
18 | @@ -1165,6 +1167,7 @@ class HumanFriendlyTestCase(TestCase): | |
20 | @@ -1171,6 +1173,7 @@ class HumanFriendlyTestCase(TestCase): | |
19 | 21 | sys.stdout = saved_stdout |
20 | 22 | sys.stderr = saved_stderr |
21 | 23 |