Skip to content

Commit

Permalink
cope when there are no features
Browse files Browse the repository at this point in the history
  • Loading branch information
topointon-jump committed Oct 10, 2024
1 parent d92f340 commit 20334b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_suite/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ def regenerate_fixtures(
fixture.ParseFromString(f.read())

features = pb_utils.access_nested_field_safe(fixture.input, features_path)
feature_set = set(features.features)
feature_set = set(features.features) if features else set()

regenerate = True
if not all_fixtures:
Expand Down

0 comments on commit 20334b2

Please sign in to comment.