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
1 changed files with 0 additions and 2 deletions

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.