[Python-checkins] r88634 - in python/branches/release32-maint: Lib/test/test_dbm.py

senthil.kumaran python-checkins at python.org
Sat Feb 26 08:11:27 CET 2011


Author: senthil.kumaran
Date: Sat Feb 26 08:11:27 2011
New Revision: 88634

Log:
Merged revisions 88631 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88631 | senthil.kumaran | 2011-02-26 11:44:03 +0800 (Sat, 26 Feb 2011) | 2 lines
  
  Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen)
........


Modified:
   python/branches/release32-maint/   (props changed)
   python/branches/release32-maint/Lib/test/test_dbm.py

Modified: python/branches/release32-maint/Lib/test/test_dbm.py
==============================================================================
--- python/branches/release32-maint/Lib/test/test_dbm.py	(original)
+++ python/branches/release32-maint/Lib/test/test_dbm.py	Sat Feb 26 08:11:27 2011
@@ -123,7 +123,7 @@
             name = module.__name__
             if name == 'dbm.dumb':
                 continue   # whichdb can't support dbm.dumb
-            test.support.unlink(_fname)
+            delete_files()
             f = module.open(_fname, 'c')
             f.close()
             self.assertEqual(name, dbm.whichdb(_fname))


More information about the Python-checkins mailing list