Get this building and passing tests
Changes: * add .DS_Store to .gitignore * Decode base64 encoded emails for tests * Pick a version of scikit since the pickled clasifiers are based on that * Add missing numpy and scipy dependencies
This commit is contained in:
committed by
Alex Riina
parent
c5e4cd9ab4
commit
8b1f87b1c0
@@ -618,7 +618,7 @@ def test_standard_replies():
|
||||
with open(filename) as f:
|
||||
message = email.message_from_file(f)
|
||||
body = email.iterators.typed_subpart_iterator(message, subtype='plain').next()
|
||||
text = ''.join(email.iterators.body_line_iterator(body))
|
||||
text = ''.join(email.iterators.body_line_iterator(body, True))
|
||||
|
||||
stripped_text = quotations.extract_from_plain(text)
|
||||
reply_text_fn = filename[:-4] + '_reply_text'
|
||||
|
||||
Reference in New Issue
Block a user