summaryrefslogtreecommitdiff
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2014-05-26 11:38:02 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2014-05-26 11:38:02 +0200
commitaef16506b5da26684103db2e47346dbf49a7e7a1 (patch)
tree84bbb9d05246b1165ddb55c695be44a6843f7a76 /tests/test_utils.py
parentc5d53f831edf3bfd6974a70e6bacd9be37425267 (diff)
downloadclick-aef16506b5da26684103db2e47346dbf49a7e7a1.tar.gz
Refactored pager support to not rely on pydoc
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index dd3d786..438de00 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -7,8 +7,9 @@ def test_echo(runner):
click.echo(b'\x44\x44')
click.echo(42, nl=False)
click.echo(b'a', nl=False)
+ click.echo('\x1b[31mx\x1b[39m', nl=False)
bytes = out.getvalue()
- assert bytes == b'\xe2\x98\x83\nDD\n42a'
+ assert bytes == b'\xe2\x98\x83\nDD\n42ax'
def test_filename_formatting():