File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ def make_dataframe(path):
32
32
for t in th ['tail' ]:
33
33
all_messages .append (
34
34
(t ['id' ], i ,
35
- '' , t ['body' ],
35
+ 'RE: ' + h ['title' ],
36
+ t ['body' ],
36
37
t ['sender' ], t ['created_at' ])
37
38
)
38
39
return pd .DataFrame (all_messages ,
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ def test_make_dataframe(self):
25
25
"Document multilabel y support for all splitters in model_selection module" ,
26
26
self .df .iloc [0 ]['subject' ]
27
27
)
28
+ assert_equal (
29
+ "RE: Document multilabel y support for all splitters in model_selection module" ,
30
+ self .df .iloc [1 ]['subject' ]
31
+ )
28
32
assert_true (' ' .join (["L(Documentation)" , "L(Easy)" ,
29
33
"L(Need Contributor)" ])
30
34
in self .df .iloc [0 ]['body' ])
@@ -64,3 +68,4 @@ def test_remove_messages_post_by_certain_users(self):
64
68
0 ,
65
69
df [df ['sender_id' ] == 'coveralls' ].shape [0 ]
66
70
)
71
+
You can’t perform that action at this time.
0 commit comments