def __init__(self, dirname, factory=rfc822.Message, create=True):
        Mailbox.__init__(self, dirname, factory, create)
        if not os.path.exists(self._path):
            if create:
                os.mkdir(self._path, 0700)
                os.mkdir(os.path.join(self._path, 'tmp'), 0700)
                os.mkdir(os.path.join(self._path, 'new'), 0700)
                os.mkdir(os.path.join(self._path, 'cur'), 0700)
            else:
                raise NoSuchMailboxError(self._path)
        self._toc = {}
When requested, the endpoint should return a 404
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Maildir.__init__--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py/PackageReadTestBase.should_404