From: Andrew M. Kuchling Date: Mon, 26 Jun 2006 14:33:24 +0000 (+0000) Subject: Windows doesn't have os.fork(). I'll just disable this test for now X-Git-Tag: v2.5b2~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec3c368195c66d2ed044e4de713824c64e05694d;p=thirdparty%2FPython%2Fcpython.git Windows doesn't have os.fork(). I'll just disable this test for now --- diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index ad25404424ef..b00496ca4f70 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -723,6 +723,8 @@ class _TestMboxMMDF(TestMailbox): def test_lock_conflict(self): # Fork off a subprocess that will lock the file for 2 seconds, # unlock it, and then exit. + if not hasattr(os, 'fork'): + return pid = os.fork() if pid == 0: # In the child, lock the mailbox.