summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordluyer <53582923+dluyer@users.noreply.github.com>2020-01-10 16:11:45 -0800
committerGitHub <noreply@github.com>2020-01-10 16:11:45 -0800
commit3412f4d50b35b0e7b2cc382ab05e63f16bb2e02d (patch)
tree097f59ae4b659bdef6abfb0df8310431573f946c
parent80f9820c41e55ca6dbac0108c6d515a62af0093d (diff)
downloadpexpect-git-3412f4d50b35b0e7b2cc382ab05e63f16bb2e02d.tar.gz
Provide bad version range in regression test docstrings
-rwxr-xr-xtests/test_expect.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_expect.py b/tests/test_expect.py
index f16bf44..c37e159 100755
--- a/tests/test_expect.py
+++ b/tests/test_expect.py
@@ -452,7 +452,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase):
self._before_after(p)
def test_before_after_timeout(self):
- '''Tests that before is not truncated after a timeout, a bug in 4.7.'''
+ '''Tests that timeouts do not truncate before, a bug in 4.4-4.7.'''
child = pexpect.spawn('cat', echo=False)
child.sendline('BEGIN')
for i in range(100):
@@ -469,7 +469,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase):
child.expect(pexpect.EOF)
def test_increasing_searchwindowsize(self):
- '''Tests that the search window can be expanded, a bug in 4.7.'''
+ '''Tests that the search window can be expanded, a bug in 4.4-4.7.'''
child = pexpect.spawn('cat', echo=False)
child.sendline('BEGIN')
for i in range(100):
@@ -487,7 +487,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase):
child.expect(pexpect.EOF)
def test_searchwindowsize(self):
- '''Tests that we don't match outside the window, a bug in 4.7.'''
+ '''Tests that we don't match outside the window, a bug in 4.4-4.7.'''
p = pexpect.spawn('echo foobarbazbop')
e = p.expect([b'bar', b'bop'], searchwindowsize=6)
self.assertEqual(e, 1)