Skip to content
Myr

test_FileError.py

This file

Path

tests/test_exceptions/test_FileError.py

6 lines · 180 bytes · Python

Last changed by

Stable (#3851)Rowlando13before adoption6aabf09

History of this file

Take it

1import click234def test_file_error_surrogates():5    message = click.FileError(filename="\udcff").format_message()6    assert message == "Could not open file '�': unknown error"