Skip to content

Commit 25cc768

Browse files
authored
Update test_conditional.py
Change formatting.
1 parent f9cbf4c commit 25cc768

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_conditional.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ def test_default_value_for_wires(self):
128128
r2 = pyrtl.Register(bitwidth=3, name='r2')
129129
r3 = pyrtl.Register(bitwidth=3, name='r3')
130130
o = pyrtl.Output(bitwidth=3, name='o')
131-
with pyrtl.conditional_assignment(defaults={r1: r1 + 2, r2: 6, o: 3}):
131+
with pyrtl.conditional_assignment(
132+
defaults={
133+
r1: r1 + 2,
134+
r2: 6,
135+
o: 3
136+
}):
132137
with i < 2:
133138
r1.next |= r1 + 1
134139
# r2 will be updated to 6

0 commit comments

Comments
 (0)