dev-python/pytest: remove unused patch

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22295
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2021-09-14 13:18:54 +02:00
committed by Arthur Zamarin
parent 3dbebfcbf6
commit b146111a9d

View File

@@ -1,35 +0,0 @@
diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py
index f1d739c99..72406b85d 100644
--- a/src/_pytest/pytester.py
+++ b/src/_pytest/pytester.py
@@ -1209,7 +1209,7 @@ class Testdir(object):
args = self._getpytestargs() + args
return self.run(*args, timeout=timeout)
- def spawn_pytest(self, string, expect_timeout=10.0):
+ def spawn_pytest(self, string, expect_timeout=60.0):
"""Run pytest using pexpect.
This makes sure to use the right pytest and sets up the temporary
@@ -1223,7 +1223,7 @@ class Testdir(object):
cmd = "%s --basetemp=%s %s" % (invoke, basetemp, string)
return self.spawn(cmd, expect_timeout=expect_timeout)
- def spawn(self, cmd, expect_timeout=10.0):
+ def spawn(self, cmd, expect_timeout=60.0):
"""Run a command using pexpect.
The pexpect child is returned.
diff --git a/testing/test_terminal.py b/testing/test_terminal.py
index 1b2e46c7c..52ba80f46 100644
--- a/testing/test_terminal.py
+++ b/testing/test_terminal.py
@@ -138,7 +138,7 @@ class TestTerminal(object):
"""
def test_1():
import time
- time.sleep(20)
+ time.sleep(120)
"""
)
child = testdir.spawn_pytest("")