Index: pyyaml/trunk/tests/lib/test_input_output.py
===================================================================
--- pyyaml/trunk/tests/lib/test_input_output.py	(revision 366)
+++ pyyaml/trunk/tests/lib/test_input_output.py	(revision 367)
@@ -99,4 +99,5 @@
     data = open(unicode_filename, 'rb').read().decode('utf-8')
     handle, filename = tempfile.mkstemp()
+    os.close(handle)
     try:
         stream = StringIO.StringIO()
