Skip to content

Commit

Permalink
make docformatter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Nov 12, 2024
1 parent 72ba515 commit de611f1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/taskmodules/test_re_text_classification_with_indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit de611f1

Please sign in to comment.