Skip to content

Commit e11f28a

Browse files
rustyconoverclaude
andcommitted
test: import TableInOutFunctionInitPhase from its defining module
vgi.protocol only re-exports it implicitly, so mypy's tests/ check (CI Lint) failed with attr-defined on main. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent f33b4eb commit e11f28a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_generated_cpp_records.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_known_shapes() -> None:
109109

110110
def test_enum_wire_values_are_member_names_in_order() -> None:
111111
"""Enumerator order is the wire dictionary order; the wire value is the member name."""
112-
from vgi.protocol import TableInOutFunctionInitPhase
112+
from vgi.table_function import TableInOutFunctionInitPhase
113113

114114
phase = cpp_records.build_model().enums["VgiInitPhase"]
115115
assert [m.wire_name for m in phase.members] == [m.name for m in TableInOutFunctionInitPhase]

0 commit comments

Comments
 (0)