Skip to content

Commit 55d93b0

Browse files
committed
docs(README): Skip cowsay test
1 parent a9f27f9 commit 55d93b0

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -157,19 +157,18 @@ Grab the output of pane:
157157
```python
158158
>>> pane.clear() # clear the pane
159159
>>> pane.send_keys("cowsay 'hello'", enter=True)
160-
>>> import time; time.sleep(1)
161-
>>> print('\n'.join(pane.cmd('capture-pane', '-p').stdout))
162-
```
163-
164-
sh-3.2$ cowsay 'hello'
165-
_______
166-
< hello >
167-
-------
168-
\ ^__^
169-
\ (oo)\_______
170-
(__)\ )\/\
171-
||----w |
172-
|| ||
160+
>>> print('\n'.join(pane.cmd('capture-pane', '-p').stdout)) # doctest: +SKIP
161+
$ cowsay 'hello'
162+
_______
163+
< hello >
164+
-------
165+
\ ^__^
166+
\ (oo)\_______
167+
(__)\ )\/\
168+
||----w |
169+
|| ||
170+
...
171+
```
173172

174173
Traverse and navigate:
175174

0 commit comments

Comments
 (0)