Commit fcc2fe15 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Windows doesn't have os.fork(). I'll just disable this test for now

parent 1c31d321
...@@ -723,6 +723,8 @@ class _TestMboxMMDF(TestMailbox): ...@@ -723,6 +723,8 @@ class _TestMboxMMDF(TestMailbox):
def test_lock_conflict(self): def test_lock_conflict(self):
# Fork off a subprocess that will lock the file for 2 seconds, # Fork off a subprocess that will lock the file for 2 seconds,
# unlock it, and then exit. # unlock it, and then exit.
if not hasattr(os, 'fork'):
return
pid = os.fork() pid = os.fork()
if pid == 0: if pid == 0:
# In the child, lock the mailbox. # In the child, lock the mailbox.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment