These tests are related to interrupted system calls, a bug which was fixed in Python 3, see https://docs.python.org/3/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1424208
23 lines
880 B
Diff
23 lines
880 B
Diff
diff --git a/urwid/tests/test_vterm.py b/urwid/tests/test_vterm.py
|
|
index 075c653..a530152 100644
|
|
--- a/urwid/tests/test_vterm.py
|
|
+++ b/urwid/tests/test_vterm.py
|
|
@@ -174,6 +174,8 @@ class TermTest(unittest.TestCase):
|
|
self.write(edgewall % {'x': self.termsize[0] - 1,
|
|
'y': self.termsize[1] - 1})
|
|
|
|
+ @unittest.skipIf(sys.version_info < (3, 0),
|
|
+ "tends to fail with Interrupted system call")
|
|
def test_horizontal_resize(self):
|
|
self.resize(80, 24)
|
|
self.edgewall()
|
|
@@ -186,6 +188,8 @@ class TermTest(unittest.TestCase):
|
|
self.flush()
|
|
self.expect('1-' + '\n' * 22 + '3-')
|
|
|
|
+ @unittest.skipIf(sys.version_info < (3, 0),
|
|
+ "tends to fail with Interrupted system call")
|
|
def test_vertical_resize(self):
|
|
self.resize(80, 24)
|
|
self.edgewall()
|