Skip to content
Myr

test_FileError.py

This file

Path

tests/test_exceptions/test_FileError.py

6 lines · 180 bytes · Python

Last changed by

Split out types tests. (#3850)Rowlando13before adoption7ecc8d7

History of this file

Take it

Split out types tests. (#3850)Rowlando13before adoption7ecc8d7

lines 1–6why, one step back
1import click
234def test_file_error_surrogates():5 message = click.FileError(filename="\udcff").format_message()6 assert message == "Could not open file '�': unknown error"