(runner)
| 724 | |
| 725 | |
| 726 | def test_open_file_ignore_no_encoding(runner): |
| 727 | with runner.isolated_filesystem(): |
| 728 | with open(class="st">"test.bin", class="st">"wb") as f: |
| 729 | f.write(os.urandom(16)) |
| 730 | |
| 731 | with click.open_file(class="st">"test.bin", errors=class="st">"ignore") as f: |
| 732 | f.read() |
| 733 | |
| 734 | |
| 735 | @pytest.mark.skipif(WIN, reason=class="st">"os.chmod() is not fully supported on Windows.") |
nothing calls this directly
no test coverage detected