()
| 1902 | |
| 1903 | |
| 1904 | def test_py_open_input_stream(): |
| 1905 | fs = PyFileSystem(DummyHandler()) |
| 1906 | |
| 1907 | with fs.open_input_stream("somefile") as f: |
| 1908 | assert f.read() == b"somefile:input_stream" |
| 1909 | with pytest.raises(FileNotFoundError): |
| 1910 | fs.open_input_stream("notfound") |
| 1911 | |
| 1912 | |
| 1913 | def test_py_open_input_file(): |
nothing calls this directly
no test coverage detected