Permalink
Browse files

suppress unclosed file warning in Python 3.2

  • Loading branch information...
1 parent a8ebf9e commit 4741e2d4f576e56c6af3b0fb433fba49d85c90c3 @puzzlet committed Nov 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 werkzeug/testsuite/test.py
@@ -223,6 +223,7 @@ def test_environ_builder_stream_switch(self):
'CONTENT_TYPE': 'multipart/form-data; boundary="%s"' %
boundary})[1]
assert form == d
+ stream.close()
def test_create_environ(self):
env = create_environ('/foo?bar=baz', 'http://example.org/')

0 comments on commit 4741e2d

Please sign in to comment.