lib.wiring: fix typo in Signature.flatten.

This commit is contained in:
Catherine 2023-11-27 13:19:11 +00:00
parent 57748a66a6
commit a2e87b370e
2 changed files with 3 additions and 3 deletions

View file

@ -385,8 +385,8 @@ class SignatureTestCase(unittest.TestCase):
intf = sig.create()
self.assertFlattenedSignature(sig.flatten(intf), [
(("a",), In(1), intf.a),
((("b",), 0), Out(2), intf.b[0]),
((("b",), 1), Out(2), intf.b[1])
(("b", 0), Out(2), intf.b[0]),
(("b", 1), Out(2), intf.b[1])
])
def test_flatten_sig(self):