Skip to content

Commit

Permalink
Change for loops
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos committed Apr 24, 2024
1 parent 5553bf6 commit 9a7f9e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/steps/other_v2_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1595,8 +1595,8 @@ def exec_trace_unit_in_simulation_check_stack_scratch(
]["exec-trace"]
assert traces

for i in range(1, len(group_path)):
traces = traces["inner-trace"][group_path[i]]
for p in group_path[1:]:
traces = traces["inner-trace"][p]
assert traces

trace = []
Expand Down Expand Up @@ -1766,8 +1766,8 @@ def unit_finder(
]["exec-trace"]
assert traces

for i in range(1, len(txn_group_path_split)):
traces = traces["inner-trace"][txn_group_path_split[i]]
for p in txn_group_path_split[1:]:
traces = traces["inner-trace"][p]
assert traces

trace = None
Expand Down Expand Up @@ -1839,8 +1839,8 @@ def program_hash_at_path_should_be(
]["exec-trace"]
assert traces

for i in range(1, len(txn_group_path_split)):
traces = traces["inner-trace"][txn_group_path_split[i]]
for p in txn_group_path_split[1:]:
traces = traces["inner-trace"][p]
assert traces

hash = None
Expand Down

0 comments on commit 9a7f9e4

Please sign in to comment.