From: Tim Peters Date: Thu, 11 May 2006 16:37:42 +0000 (+0000) Subject: BaseThreadedTestCase.setup(): stop special-casing WindowsError. X-Git-Tag: v2.5b1~671 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ebf27aad939d88cf2a35fc9197a3b72ce698766;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/bsddb/test/test_thread.py b/Lib/bsddb/test/test_thread.py index 61a0eb338047..31964f0b223c 100644 --- a/Lib/bsddb/test/test_thread.py +++ b/Lib/bsddb/test/test_thread.py @@ -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()