From 964c4a37c071aa312770c4ef51c025516d28a646 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 9 Feb 2014 13:14:15 +0000 Subject: [PATCH] Closed an unclosed file in the tests --- flask/testsuite/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flask/testsuite/helpers.py b/flask/testsuite/helpers.py index cc377587..3f822433 100644 --- a/flask/testsuite/helpers.py +++ b/flask/testsuite/helpers.py @@ -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):