1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2025-03-11 15:22:52 +00:00

test_archivemail.py: don't check for os.fork(), simply use it -- we're targeting

posix platforms only.
This commit is contained in:
Nikolaus Schulz 2006-10-27 00:13:48 +00:00
parent 06d158c576
commit ee45d946ed

View file

@ -170,8 +170,6 @@ class TestMboxExclusiveLock(unittest.TestCase):
# 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.