Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions hugr-py/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,11 @@ def validate(
"json": EnvelopeConfig.TEXT,
"model-exts": EnvelopeConfig.BINARY,
}
# TODO: "model-exts" comes with its own variety of errors.
# Fix them and add it to the list of write formats.
WRITE_FORMATS = ["json"]
# Envelope formats used when exporting test hugrs.
WRITE_FORMATS = ["json", "model-exts"]
# Envelope formats used as target for `hugr convert` before loading back the
# test hugrs.
#
# Model envelopes cannot currently be loaded from python.
# TODO: Add model envelope loading to python, and add it to the list.
LOAD_FORMATS = ["json"]
Expand Down
Loading