Skip to content

Commit

Permalink
suppress unclosed file warning in Python 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
puzzlet committed Nov 24, 2012
1 parent a8ebf9e commit 4741e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions werkzeug/testsuite/test.py
Expand Up @@ -223,6 +223,7 @@ def test_environ_builder_stream_switch(self):
'CONTENT_TYPE': 'multipart/form-data; boundary="%s"' % 'CONTENT_TYPE': 'multipart/form-data; boundary="%s"' %
boundary})[1] boundary})[1]
assert form == d assert form == d
stream.close()


def test_create_environ(self): def test_create_environ(self):
env = create_environ('/foo?bar=baz', 'http://example.org/') env = create_environ('/foo?bar=baz', 'http://example.org/')
Expand Down

0 comments on commit 4741e2d

Please sign in to comment.