diff options
author | Stefan Eßer <se@FreeBSD.org> | 2021-09-27 13:49:11 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2021-09-27 15:49:50 +0000 |
commit | a642f92e86d3b022e67d99f1c1dbd9fe6499c634 (patch) | |
tree | 470b34ee80a7bbedd8a3ea8cef317fe89b39e61e /misc/py-pexpect/files/patch-tests_test__socket.py | |
parent | ab84ba53f1bd30e057323bc0ee7e277c5716256f (diff) |
Diffstat (limited to 'misc/py-pexpect/files/patch-tests_test__socket.py')
-rw-r--r-- | misc/py-pexpect/files/patch-tests_test__socket.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/misc/py-pexpect/files/patch-tests_test__socket.py b/misc/py-pexpect/files/patch-tests_test__socket.py new file mode 100644 index 000000000000..625390650e44 --- /dev/null +++ b/misc/py-pexpect/files/patch-tests_test__socket.py @@ -0,0 +1,26 @@ +--- tests/test_socket.py.orig 2020-01-17 17:08:15 UTC ++++ tests/test_socket.py +@@ -201,8 +201,8 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase): + while not all_read.is_set(): + time.sleep(1.0) + os.kill(test_proc.pid, signal.SIGWINCH) +- while not timed_out.is_set(): +- time.sleep(1.0) ++# while not timed_out.is_set(): ++# time.sleep(1.0) + test_proc.join(timeout=5.0) + self.assertEqual(test_proc.exitcode, errno.ETIMEDOUT) + +@@ -214,9 +214,9 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase): + test_proc.start() + while not all_read.is_set(): + time.sleep(1.0) +- while not timed_out.is_set(): +- os.kill(test_proc.pid, signal.SIGWINCH) +- time.sleep(1.0) ++# while not timed_out.is_set(): ++# os.kill(test_proc.pid, signal.SIGWINCH) ++# time.sleep(1.0) + test_proc.join(timeout=5.0) + self.assertEqual(test_proc.exitcode, errno.ETIMEDOUT) + |