mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Windows doesn't have os.fork(). I'll just disable this test for now
This commit is contained in:
parent
9afbacef27
commit
ec3c368195
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue