Skip to content

Commit

Permalink
[test] Use variable instead of int in extslice test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpan committed Dec 7, 2023
1 parent aa19bfb commit 824ee65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymtl3/passes/testcases/test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -3378,7 +3378,8 @@ class ExtSliceComp( Component ):
def construct( s ):
@update
def upblk():
42[ 1:2:3, 2:4:6 ]
a = None
a[ 1:2:3, 2:4:6 ]

Check warning on line 3382 in pymtl3/passes/testcases/test_cases.py

View check run for this annotation

Codecov / codecov/patch

pymtl3/passes/testcases/test_cases.py#L3381-L3382

Added lines #L3381 - L3382 were not covered by tests
DUT = ExtSliceComp

class CaseAddComponentComp:
Expand Down

0 comments on commit 824ee65

Please sign in to comment.