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 Nov 22, 2023
1 parent 4e6d5b7 commit e75db9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_t4_dataset_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ def test_sample_annotation_json(t4_dataset_path):
@pytest.mark.parametrize("t4_dataset_path", [False], indirect=True)
def test_sample_annotation_json_with_interpolate_label(t4_dataset_path):
sample_annotation = load_json(t4_dataset_path, "sample_annotation")
assert len(sample_annotation) == 54, f"sample_annotation length is {len(sample_annotation)}, expected 54"
assert (
len(sample_annotation) == 54
), f"sample_annotation length is {len(sample_annotation)}, expected 54"
for sample_anno in sample_annotation:
sample_anno: dict
assert sample_anno["token"], "token is empty"
Expand Down

0 comments on commit e75db9a

Please sign in to comment.