]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
BaseThreadedTestCase.setup(): stop special-casing WindowsError.
authorTim Peters <tim.peters@gmail.com>
Thu, 11 May 2006 16:37:42 +0000 (16:37 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 11 May 2006 16:37:42 +0000 (16:37 +0000)
Rev 45964 fiddled with WindowsError, and broke test_bsddb3 on all
the Windows buildbot slaves as a result.  This should repair it.

Lib/bsddb/test/test_thread.py

index 61a0eb33804723841a56ce3a175b3b840e4f35b5..31964f0b223c9a846bfb05e1791196d1e66bd85e 100644 (file)
@@ -57,8 +57,6 @@ class BaseThreadedTestCase(unittest.TestCase):
         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()