Skip to content

Commit

Permalink
fix: revert only functional change from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dPys committed Oct 19, 2024
1 parent e4b9d9c commit 5c3be70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nx_parallel/tests/test_get_chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ def iterator_func(G):
H, process_func, iterator_func, get_chunks=random_chunking
)
if isinstance(c1, types.GeneratorType):
c1, c2 = list(c1), list(
c2
c1, c2 = (
list(c1),
list(c2),
) # Convert generators to lists for comparison
if func in chk_dict_vals:
for i in range(len(G.nodes)):
Expand Down

0 comments on commit 5c3be70

Please sign in to comment.