Codebase list humanfriendly / 9cf8b50
Refresh patches. Debian Janitor 2 years ago
1 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
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
24 @@ -124,6 +124,7 @@ from humanfriendly.usage import (
35
46 # Test dependencies.
79
810
911 class HumanFriendlyTestCase(TestCase):
10 @@ -1088,6 +1089,7 @@ class HumanFriendlyTestCase(TestCase):
12 @@ -1094,6 +1095,7 @@ class HumanFriendlyTestCase(TestCase):
1113 self.assertEqual([], capturer.stdout.get_lines())
1214 self.assertEqual([text], capturer.stderr.get_lines())
1315
1517 def test_generate_warning(self):
1618 """Test the :func:`humanfriendly.terminal.warning()` function."""
1719 from capturer import CaptureOutput
18 @@ -1165,6 +1167,7 @@ class HumanFriendlyTestCase(TestCase):
20 @@ -1171,6 +1173,7 @@ class HumanFriendlyTestCase(TestCase):
1921 sys.stdout = saved_stdout
2022 sys.stderr = saved_stderr
2123