Skip to content

Commit

Permalink
Fix testing function names
Browse files Browse the repository at this point in the history
  • Loading branch information
Hironsan committed Oct 12, 2020
1 parent 7e62fbe commit facf9dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_iobes_tokens_without_tag(tokens, expected):
(['U-PER', 'U-PER'], [('PER', 0, 1), ('PER', 1, 2)])
]
)
def test_iobes_tokens(tokens, expected):
def test_bilou_tokens(tokens, expected):
tokens = Tokens(tokens, BILOU)
entities = [entity.to_tuple()[1:] for entity in tokens.entities]
assert entities == expected
Expand Down Expand Up @@ -618,7 +618,7 @@ def test_iobes_tokens(tokens, expected):
(['U', 'U'], [('_', 0, 1), ('_', 1, 2)])
]
)
def test_iobes_tokens_without_tag(tokens, expected):
def test_bilou_tokens_without_tag(tokens, expected):
tokens = Tokens(tokens, BILOU)
entities = [entity.to_tuple()[1:] for entity in tokens.entities]
assert entities == expected
Expand Down

0 comments on commit facf9dd

Please sign in to comment.