pviktori / rpms / python2

Forked from rpms/python2 6 years ago
Clone
3dcbaaa
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
3dcbaaa
From: Fedora Python maintainers <python-devel@lists.fedoraproject.org>
3dcbaaa
Date: Wed, 15 Jul 2020 15:22:43 +0200
3dcbaaa
Subject: [PATCH] 00131-disable-tests-in-test_io.patch
3dcbaaa
3dcbaaa
00131 #
3dcbaaa
The four tests in test_io built on top of check_interrupted_write_retry
3dcbaaa
fail when built in Koji, for ppc and ppc64; for some reason, the SIGALRM
3dcbaaa
handlers are never called, and the call to write runs to completion
3dcbaaa
(rhbz#732998)
3dcbaaa
---
3dcbaaa
 Lib/test/test_io.py | 1 +
3dcbaaa
 1 file changed, 1 insertion(+)
3dcbaaa
3dcbaaa
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
3dcbaaa
index 5ec0b7bb119..d5bf31525fd 100644
3dcbaaa
--- a/Lib/test/test_io.py
3dcbaaa
+++ b/Lib/test/test_io.py
3dcbaaa
@@ -3289,6 +3289,7 @@ class SignalsTest(unittest.TestCase):
e252525
         self.check_interrupted_read_retry(lambda x: x,
e252525
                                           mode="r")
e252525
 
e252525
+    @unittest.skip('rhbz#732998')
e252525
     @unittest.skipUnless(threading, 'Threading required for this test.')
e252525
     def check_interrupted_write_retry(self, item, **fdopen_kwargs):
e252525
         """Check that a buffered write, when it gets interrupted (either