Skip to content

Commit c58ddbf

Browse files
authored
fix: Fixed invalid extension name in test. (#2319)
The Python testing suite defined an extension named `pytest.quantum,`. The `,` is not allowed as part of an extension name, making the model import fail.
1 parent 67687fc commit c58ddbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-py/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from hugr.ops import ComWire
2323

24-
QUANTUM_EXT = ext.Extension("pytest.quantum,", ext.Version(0, 1, 0))
24+
QUANTUM_EXT = ext.Extension("pytest.quantum", ext.Version(0, 1, 0))
2525
QUANTUM_EXT.add_op_def(
2626
ext.OpDef(
2727
name="H",

0 commit comments

Comments
 (0)