diff options
author | Thomas Kluyver <takowl@gmail.com> | 2018-09-06 15:06:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 15:06:37 +0200 |
commit | 462cf15d2cea948143ae710f40b3d44448c2e62c (patch) | |
tree | 6ee2763225d2181378764022f62f7fefdd886d15 | |
parent | 3f5b950f2f31b4da909b4b5bbf645d6e64550fb8 (diff) | |
parent | 55a2e695e47abe7a4d5f5d3b79b8f0565aa72aa1 (diff) | |
download | pexpect-git-462cf15d2cea948143ae710f40b3d44448c2e62c.tar.gz |
Merge pull request #524 from stanislavlevin/fix_test_before_across_chunks
Fix "test_before_across_chunks" test
-rwxr-xr-x | tests/test_expect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_expect.py b/tests/test_expect.py index 795518a..2c74744 100755 --- a/tests/test_expect.py +++ b/tests/test_expect.py @@ -411,7 +411,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase): def test_before_across_chunks(self): # https://github.com/pexpect/pexpect/issues/478 child = pexpect.spawn( - '''/bin/bash -c "openssl rand -base64 {} | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2), + '''/bin/bash -c "openssl rand -base64 {} 2>/dev/null | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2), searchwindowsize=128 ) child.expect(['PATTERN']) |