Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 21, 2022
1 parent 8200fb1 commit 3717829
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/ludwig/automl/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
np.asarray([None])


@pytest.mark.parametrize(
"field,expected",
[
np.asarray([None], 0),
np.asarray(["string1", "string2", "string3"], 1)
]
)
@pytest.mark.parametrize("field,expected", [np.asarray([None], 0), np.asarray(["string1", "string2", "string3"], 1)])
def test_avg_num_tokens(field, expected):
assert avg_num_tokens(field) == expected

0 comments on commit 3717829

Please sign in to comment.