summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRed_M <1468433+Red-M@users.noreply.github.com>2022-02-06 14:51:37 +1000
committerGitHub <noreply@github.com>2022-02-06 14:51:37 +1000
commit7f14b2b30114660e7b29c0e4d11426700ae43b06 (patch)
tree535af39ffe339ee7762597b669592b463e026e28
parent2be6c4d1aa2b9b522636342c2fd54b73c058060d (diff)
parent01dd2377a1b48b35665890736797647b56259763 (diff)
downloadpexpect-7f14b2b30114660e7b29c0e4d11426700ae43b06.tar.gz
Merge pull request #663 from kulikjak/test_pager_as_cat-fix
fix `test_pager_as_cat` test case on Solaris
-rw-r--r--tests/test_replwrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_replwrap.py b/tests/test_replwrap.py
index 5e50ea2..e29080d 100644
--- a/tests/test_replwrap.py
+++ b/tests/test_replwrap.py
@@ -39,7 +39,7 @@ class REPLWrapTestCase(unittest.TestCase):
" PAGER is set to cat, to prevent timeout in ``man sleep``. "
bash = replwrap.bash()
res = bash.run_command('man sleep', timeout=5)
- assert 'SLEEP' in res, res
+ assert 'SLEEP' in res.upper(), res
def test_bash_env(self):
"""env, which displays PS1=..., should not mess up finding the prompt.