mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -57,8 +57,6 @@ def setUp(self):
|
|||
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…
Add table
Add a link
Reference in a new issue