Kaydet (Commit) 0ebf27aa authored tarafından Tim Peters's avatar Tim Peters

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.
üst 7cadf59e
...@@ -57,8 +57,6 @@ class BaseThreadedTestCase(unittest.TestCase): ...@@ -57,8 +57,6 @@ class BaseThreadedTestCase(unittest.TestCase):
self.homeDir = homeDir self.homeDir = homeDir
try: try:
os.mkdir(homeDir) os.mkdir(homeDir)
except WindowsError, e:
if e.errno <> 183: raise # ERROR_ALREADY_EXISTS
except OSError, e: except OSError, e:
if e.errno <> errno.EEXIST: raise if e.errno <> errno.EEXIST: raise
self.env = db.DBEnv() self.env = db.DBEnv()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment