diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-24 10:39:01 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-24 10:39:01 +0200 |
commit | b0a53abfcc76c291385c37ef5ef1cd01e04568d2 (patch) | |
tree | 34f0b132824268fdb0a7abd2a9a6d4b44320b541 /tests/test_utils.py | |
parent | 63e92816061f806ed20bc1310cb03ccb9e17838c (diff) | |
download | click-b0a53abfcc76c291385c37ef5ef1cd01e04568d2.tar.gz |
Fixed a broken test on 3.x1.x-maintenance
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r-- | tests/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index 42dcca2..dd3d786 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -16,5 +16,5 @@ def test_filename_formatting(): assert click.format_filename(b'/x/foo.txt') == '/x/foo.txt' assert click.format_filename(u'/x/foo.txt') == '/x/foo.txt' assert click.format_filename(u'/x/foo.txt', shorten=True) == 'foo.txt' - assert click.format_filename('/x/foo\xff.txt', shorten=True) \ + assert click.format_filename(b'/x/foo\xff.txt', shorten=True) \ == u'foo\ufffd.txt' |