1 --- powerline-2.8.4/tests/test_python/test_logging.py.orig
2 +++ powerline-2.8.4/tests/test_python/test_logging.py
4 from tests.modules import TestCase
5 from tests.modules.lib import replace_attr
10 TIMESTAMP_RE = r'\d{4}-\d\d-\d\d \d\d:\d\d:\d\d,\d{3}'
13 self.assertEqual(err.getvalue(), '')
14 self.assertEqual(out.getvalue(), '')
16 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2234")
17 def test_logger_format(self):
21 self.assertEqual(err.getvalue(), '')
22 self.assertEqual(out.getvalue(), '')
24 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2234")
25 def test_top_log_format(self):
28 --- powerline-2.8.4/tests/test_python/test_lib.py.orig
29 +++ powerline-2.8.4/tests/test_python/test_lib.py
31 from tests.modules.lib import Pl, replace_attr
32 from tests.modules import TestCase, SkipTest
42 class TestThreaded(TestCase):
43 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2128")
44 def test_threaded_segment(self):
48 self.assertEqual(num_runs - 1, len(pl.exceptions))
51 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2128")
52 def test_kw_threaded_segment(self):
55 --- powerline-2.8.4/tests/test_python/test_segments.py.orig
56 +++ powerline-2.8.4/tests/test_python/test_segments.py
58 replace_module_module, replace_env, Pl)
59 from tests.modules import TestCase, SkipTest
64 def get_dummy_guess(**kwargs):
65 if 'directory' in kwargs:
67 class TestEnv(TestCommon):
70 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2128")
72 new_os = new_module('os', getpid=lambda: 1)
75 with replace_attr(self.module, '_get_uptime', _get_uptime):
76 self.assertEqual(self.module.uptime(pl=pl), None)
78 + @pytest.mark.skip(reason="always fails: https://github.com/powerline/powerline/issues/2128")
79 def test_system_load(self):
81 with replace_module_module(self.module, 'os', getloadavg=lambda: (7.5, 3.5, 1.5)):