()
| 1911 | |
| 1912 | |
| 1913 | def test_py_open_input_file(): |
| 1914 | fs = PyFileSystem(DummyHandler()) |
| 1915 | |
| 1916 | with fs.open_input_file("somefile") as f: |
| 1917 | assert f.read() == b"somefile:input_file" |
| 1918 | with pytest.raises(FileNotFoundError): |
| 1919 | fs.open_input_file("notfound") |
| 1920 | |
| 1921 | |
| 1922 | def test_py_open_output_stream(): |
nothing calls this directly
no test coverage detected