Skip to content

Commit

Permalink
Update src/xdist/scheduler/loadscope.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Nov 21, 2023
1 parent 867528f commit 7bd858e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xdist/scheduler/loadscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def schedule(self):
work_unit = unsorted_workqueue.setdefault(scope, default=OrderedDict())
work_unit[nodeid] = False

# Insert tests scopes into work queue ordered by number of tests
# Insert tests scopes into work queue ordered by number of tests.
for scope, nodeids in sorted(
unsorted_workqueue.items(), key=lambda item: -len(item[1])
):
Expand Down

0 comments on commit 7bd858e

Please sign in to comment.