summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-06-26 14:33:24 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-06-26 14:33:24 (GMT)
commitec3c368195c66d2ed044e4de713824c64e05694d (patch)
tree447fad1cdbf8028636b2921a08d3a118e8540380 /Lib
parent9afbacef2758223ba3190b459fcf794c7cc855e5 (diff)
downloadcpython-ec3c368195c66d2ed044e4de713824c64e05694d.zip
cpython-ec3c368195c66d2ed044e4de713824c64e05694d.tar.gz
cpython-ec3c368195c66d2ed044e4de713824c64e05694d.tar.bz2
Windows doesn't have os.fork(). I'll just disable this test for now
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_mailbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py
index ad25404..b00496c 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.