Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/p/spambayes-1.1b1/spambayes/test/test_sb_imapfilter.py   spambayes(Download)
from spambayes.classifier import Classifier
from sb_imapfilter import run, BadIMAPResponseError, LoginFailure
from sb_imapfilter import IMAPSession, IMAPMessage, IMAPFolder, IMAPFilter
 
IMAP_PORT = 8143
    def setUp(self):
        # shorten for testing so we don't wait forever
        IMAPSession.timeout = 5
        self.imap = IMAPSession("localhost:%d" % IMAP_PORT)