[Python-checkins] r45968 - python/trunk/Lib/bsddb/test/test_thread.py

tim.peters python-checkins at python.org
Thu May 11 18:37:47 CEST 2006


Author: tim.peters
Date: Thu May 11 18:37:42 2006
New Revision: 45968

Modified:
   python/trunk/Lib/bsddb/test/test_thread.py
Log:
BaseThreadedTestCase.setup():  stop special-casing WindowsError.

Rev 45964 fiddled with WindowsError, and broke test_bsddb3 on all
the Windows buildbot slaves as a result.  This should repair it.


Modified: python/trunk/Lib/bsddb/test/test_thread.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_thread.py	(original)
+++ python/trunk/Lib/bsddb/test/test_thread.py	Thu May 11 18:37:42 2006
@@ -57,8 +57,6 @@
         self.homeDir = homeDir
         try:
             os.mkdir(homeDir)
-        except WindowsError, e:
-            if e.errno <> 183: raise # ERROR_ALREADY_EXISTS
         except OSError, e:
             if e.errno <> errno.EEXIST: raise
         self.env = db.DBEnv()


More information about the Python-checkins mailing list