def test_reversedSearchTerms(self):
        """
        L{imap4.IMAP4Server.search_SENTON} returns True if the message date is
        the same as the query date.
        """
        msgset = imap4.parseIdList(b'4:2')
        self.assertEqual(list(msgset), [2, 3, 4])

        L{imap4.IMAP4Server.search_SENTON} returns True if the message date is
        the same as the query date.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_imap.py