summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kulík <kulikjak@gmail.com>2020-10-20 10:12:08 +0200
committerJakub Kulík <kulikjak@gmail.com>2020-10-20 10:12:08 +0200
commit01dd2377a1b48b35665890736797647b56259763 (patch)
treeec1513ab2f7ad8e1a1b1f6576349f83ab04abbf5
parentec5edcc0989e8ce893733eb0743158e479b6b3d4 (diff)
downloadpexpect-01dd2377a1b48b35665890736797647b56259763.tar.gz
better fix of this issue
-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 29c5553..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 'NAME' 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.