summaryrefslogtreecommitdiff
path: root/tests/test_cer.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-04 16:05:35 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-04 16:05:35 +0200
commit8207dc902db439d606fe36d726f0405aabbf173e (patch)
treeb59e79e345c7093f3427dbb54e459b0f83723b47 /tests/test_cer.py
parent31e9673eef3088f08e3ee6aef8b78abd701ca329 (diff)
Reformat test for CER
Diffstat (limited to 'tests/test_cer.py')
-rw-r--r--tests/test_cer.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_cer.py b/tests/test_cer.py
index 30d58b2..6b7565e 100644
--- a/tests/test_cer.py
+++ b/tests/test_cer.py
@@ -19,5 +19,3 @@ def test_character_error_rate() -> None:
metric(preds, targets)
print(metric.compute())
assert metric.compute() == float(sum([0, 0.75, 0.5]) / 3)
-
-