Skip to content

Commit

Permalink
ignore missing features (HACK) (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
topointon-jump authored Oct 11, 2024
1 parent e3c23c3 commit 354bfbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test_suite/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,9 +872,10 @@ def regenerate_fixtures(
else:
print(f"Regenerating {file}")
# Apply minimum compatible features
features.features[:] = features_utils.min_compatible_featureset(
target_features, feature_set
)
if features is not None:
features.features[:] = features_utils.min_compatible_featureset(
target_features, feature_set
)
regenerated_fixture = create_fixture_from_context(fixture.input)
write_fixture_to_disk(
file.stem, regenerated_fixture.SerializeToString()
Expand Down

0 comments on commit 354bfbe

Please sign in to comment.