aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 6976a64bf77..022cf21a470 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -4468,10 +4468,12 @@ class CMiscIOTest(MiscIOTest):
self.assertFalse(err.strip('.!'))
@threading_helper.requires_working_threading()
+ @support.requires_resource('walltime')
def test_daemon_threads_shutdown_stdout_deadlock(self):
self.check_daemon_threads_shutdown_deadlock('stdout')
@threading_helper.requires_working_threading()
+ @support.requires_resource('walltime')
def test_daemon_threads_shutdown_stderr_deadlock(self):
self.check_daemon_threads_shutdown_deadlock('stderr')
@@ -4645,11 +4647,13 @@ class SignalsTest(unittest.TestCase):
os.close(r)
@requires_alarm
+ @support.requires_resource('walltime')
def test_interrupted_read_retry_buffered(self):
self.check_interrupted_read_retry(lambda x: x.decode('latin1'),
mode="rb")
@requires_alarm
+ @support.requires_resource('walltime')
def test_interrupted_read_retry_text(self):
self.check_interrupted_read_retry(lambda x: x,
mode="r", encoding="latin1")
@@ -4723,10 +4727,12 @@ class SignalsTest(unittest.TestCase):
raise
@requires_alarm
+ @support.requires_resource('walltime')
def test_interrupted_write_retry_buffered(self):
self.check_interrupted_write_retry(b"x", mode="wb")
@requires_alarm
+ @support.requires_resource('walltime')
def test_interrupted_write_retry_text(self):
self.check_interrupted_write_retry("x", mode="w", encoding="latin1")