forked from orbit-oss/flask
Closed an unclosed file in the tests
This commit is contained in:
parent
001100bc0b
commit
964c4a37c0
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue