diff --git a/tests/taskmodules/test_re_text_classification_with_indices.py b/tests/taskmodules/test_re_text_classification_with_indices.py index 7ad4b16a9..d185be4a8 100644 --- a/tests/taskmodules/test_re_text_classification_with_indices.py +++ b/tests/taskmodules/test_re_text_classification_with_indices.py @@ -806,8 +806,11 @@ def test_encode_with_allow_discontinuous_text(documents): def test_encode_with_allow_discontinuous_text_and_binary_relations(): - """This checks whether relation arguments at the very beginning or end of the document are encoded correctly. - Also, it checks whether the encoding of the consecutive spans that fit within the frame specified by max_window is correct. + """This checks whether relation arguments at the very beginning or end of the document are + encoded correctly. + + Also, it checks whether the encoding of the consecutive spans that fit within the frame + specified by max_window is correct. """ tokenizer_name_or_path = "bert-base-cased" taskmodule = RETextClassificationWithIndicesTaskModule(