diff options
author | Jeff Quast <contact@jeffquast.com> | 2015-12-12 17:37:25 -0800 |
---|---|---|
committer | Jeff Quast <contact@jeffquast.com> | 2015-12-12 17:37:25 -0800 |
commit | 334691b701371b4b0338d2f082758c3ae1e15cc8 (patch) | |
tree | 9a0d7b8d034fc5a28d3ca1da51c70ca4ff4cd422 | |
parent | e085ac6c98065fbf480c44ffd5bd944ce30654a5 (diff) | |
download | pexpect-git-334691b701371b4b0338d2f082758c3ae1e15cc8.tar.gz |
bugfix test for conditional str() coverage
-rw-r--r-- | tests/test_repr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_repr.py b/tests/test_repr.py index 75ed8a9..17c5063 100644 --- a/tests/test_repr.py +++ b/tests/test_repr.py @@ -28,7 +28,7 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase): """ Exercise derived spawn.__str__() """ # given, child = pexpect.spawn(None, None) - child.closed = False + child.read_nonblocking = lambda size, timeout: b'' try: child.expect('alpha', timeout=0.1) except pexpect.TIMEOUT: |