Skip to content

Commit b079072

Browse files
authored
test: Enable model-exts for python roundtrip tests (#2449)
~Blocked by #2454 ~Blocked by #2464 ~Blocked by #2466~
1 parent 7d6931b commit b079072

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

hugr-py/tests/conftest.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,11 @@ def validate(
187187
"json": EnvelopeConfig.TEXT,
188188
"model-exts": EnvelopeConfig.BINARY,
189189
}
190-
# TODO: "model-exts" comes with its own variety of errors.
191-
# Fix them and add it to the list of write formats.
192-
WRITE_FORMATS = ["json"]
190+
# Envelope formats used when exporting test hugrs.
191+
WRITE_FORMATS = ["json", "model-exts"]
192+
# Envelope formats used as target for `hugr convert` before loading back the
193+
# test hugrs.
194+
#
193195
# Model envelopes cannot currently be loaded from python.
194196
# TODO: Add model envelope loading to python, and add it to the list.
195197
LOAD_FORMATS = ["json"]

0 commit comments

Comments
 (0)