Index: Lib/test/test_bz2.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_bz2.py,v retrieving revision 1.11 diff -w -u -r1.11 test_bz2.py --- Lib/test/test_bz2.py 31 Dec 2002 11:28:22 -0000 1.11 +++ Lib/test/test_bz2.py 10 Jan 2003 23:52:36 -0000 @@ -218,6 +218,12 @@ self.assertEqual(bz2f.read(), self.TEXT) bz2f.close() + def testOpenDel(self): + self.createTempFile() + for i in xrange(10000): + o = BZ2File(self.filename) + del o + class BZ2CompressorTest(BaseTest): def testCompress(self): # "Test BZ2Compressor.compress()/flush()"