Skip to content

Commit 7ee3b36

Browse files
lingvo-botcopybara-github
authored andcommitted
Silence new type errors in Python 3.10.
PiperOrigin-RevId: 476500987
1 parent 90d24c2 commit 7ee3b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lingvo/jax/model_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ def run_eval_loop_over_test_splits(
174174
# Metrics have already been unreplicated above.
175175
unreplicate_metrics=False)
176176
metrics_output.append(metrics)
177-
return metrics_output
177+
return metrics_output # pytype: disable=bad-return-type # py310-upgrade

0 commit comments

Comments
 (0)