From a1935b23c48e3b7e46f70d568442b6bf5340b999 Mon Sep 17 00:00:00 2001 From: Yibing Liu Date: Wed, 10 Jan 2018 09:26:53 +0000 Subject: [PATCH] Remove unnecessary prefix in test name of edit_distance_op --- python/paddle/v2/fluid/tests/test_edit_distance_op.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/v2/fluid/tests/test_edit_distance_op.py b/python/paddle/v2/fluid/tests/test_edit_distance_op.py index 24f2f0c5c..38e87728b 100644 --- a/python/paddle/v2/fluid/tests/test_edit_distance_op.py +++ b/python/paddle/v2/fluid/tests/test_edit_distance_op.py @@ -34,7 +34,7 @@ def Levenshtein(hyp, ref): return dist[m][n] -class TestCTCEditDistanceOp(OpTest): +class TestEditDistanceOp(OpTest): def setUp(self): self.op_type = "edit_distance" normalized = False @@ -62,7 +62,7 @@ class TestCTCEditDistanceOp(OpTest): self.check_output() -class TestCTCEditDistanceOpNormalized(OpTest): +class TestEditDistanceOpNormalized(OpTest): def setUp(self): self.op_type = "edit_distance" normalized = True -- GitLab