Closed an unclosed file in the tests

This commit is contained in:
Armin Ronacher 2014-02-09 13:14:15 +00:00
parent 001100bc0b
commit 964c4a37c0

View file

@ -380,6 +380,7 @@ class SendfileTestCase(FlaskTestCase):
rv = flask.send_from_directory('static', 'hello.txt')
rv.direct_passthrough = False
self.assert_equal(rv.get_data().strip(), b'Hello Subdomain')
rv.close()
class LoggingTestCase(FlaskTestCase):