cpython: aa15df77e58f (original) (raw)

Mercurial > cpython

changeset 82160:aa15df77e58f

Merge: #17064: fix sporadic permission errors in test_mailbox on windows. Patch by Jeremy Kloth. [#17064]

R David Murray rdmurray@bitdance.com
date Mon, 11 Feb 2013 10:05:34 -0500
parents a79650aacb43(current diff)3e3915cbfde3(diff)
children a80b67611c6d
files Lib/test/test_mailbox.py
diffstat 1 files changed, 8 insertions(+), 8 deletions(-)[+] [-] Lib/test/test_mailbox.py 16

line wrap: on

line diff

--- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -43,9 +43,9 @@ class TestBase: def _delete_recursively(self, target): # Delete a file or delete a directory recursively if os.path.isdir(target):

class TestMailbox(TestBase): @@ -2112,9 +2112,9 @@ class MaildirTestCase(unittest.TestCase) # create a new maildir mailbox to work with: self._dir = support.TESTFN if os.path.isdir(self._dir):

@@ -2124,10 +2124,10 @@ class MaildirTestCase(unittest.TestCase) def tearDown(self): list(map(os.unlink, self._msgfiles))

def createMessage(self, dir, mbox=False): t = int(time.time() % 1000000)