Skip to content

Commit

Permalink
Merge pull request #89 from Yoctol/removed_redundant
Browse files Browse the repository at this point in the history
removed redundant code
  • Loading branch information
SoluMilken authored Feb 13, 2019
2 parents 0d7aa88 + bad3641 commit d56abac
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions uttut/pipeline/ops/tests/test_add_sos_eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ def op():
update_locals(locals(), funcs)


# def test_all(op):
# output_sequence, label_aligner = op.transform(['alvin', '喜歡', '吃', '榴槤'])
# assert output_sequence == ['<sos>', 'alvin', '喜歡', '吃', '榴槤', '<eos>']
# output_labels = label_aligner.align_labels([1, 2, 3, 4])
# assert output_labels == [0, 1, 2, 3, 4, 0]
# re_labels = label_aligner.realign_labels([0, 1, 2, 3, 4, 0])
# assert re_labels == [1, 2, 3, 4]


def test_equal(op):
assert op == AddSosEos()

Expand Down

0 comments on commit d56abac

Please sign in to comment.