Skip to content
Myr

Use older descriptor to support older werkzeug versions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 141a553 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/testsuite/helpers.py+1 added-1 removed
377 unmodified lines
378 'test_apps', 'subdomaintestmodule')379 with app.test_request_context():380 rv = flask.send_from_directory('static', 'hello.txt')381 rv.direct_passthrough = False382 self.assert_equal(rv.get_data().strip(), b'Hello Subdomain')382 self.assert_equal(rv.data.strip(), b'Hello Subdomain')383 rv.close()384385386class LoggingTestCase(FlaskTestCase):
233 unmodified lines