mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
7cadf59e14
commit
0ebf27aad9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue