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:
parent
06d158c576
commit
ee45d946ed
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue