Skip to content

Commit

Permalink
Closed an unclosed file in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Feb 9, 2014
1 parent 001100b commit 964c4a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask/testsuite/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def test_send_from_directory(self):
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):
Expand Down

0 comments on commit 964c4a3

Please sign in to comment.