(mode)
| 368 | |
| 369 | @pytest.mark.parametrize("mode", ("w", "x", "a", "r+")) |
| 370 | def test_open_resource_exceptions(mode): |
| 371 | app = flask.Flask(__name__) |
| 372 | |
| 373 | with pytest.raises(ValueError): |
| 374 | app.open_resource("static/index.html", mode) |
| 375 | |
| 376 | |
| 377 | @pytest.mark.parametrize("encoding", ("utf-8", "utf-16-le")) |
nothing calls this directly
no test coverage detected