Returns the text portion of `self.perturbed_result`. Helper method.
(self, color_method=None)
| 54 | ) |
| 55 | |
| 56 | def perturbed_text(self, color_method=None): |
| 57 | """Returns the text portion of `self.perturbed_result`. |
| 58 | |
| 59 | Helper method. |
| 60 | """ |
| 61 | return self.perturbed_result.attacked_text.printable_text( |
| 62 | key_color=("bold", "underline"), key_color_method=color_method |
| 63 | ) |
| 64 | |
| 65 | def str_lines(self, color_method=None): |
| 66 | """A list of the lines to be printed for this result's string |
nothing calls this directly
no test coverage detected