Skip to content

Commit

Permalink
argparse: fix type='choice' being obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
BerengerBerthoul committed Aug 23, 2024
1 parent ac63c3c commit b2e3ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_parallel/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def pytest_addoption(parser):
parser.addoption(
'--scheduler',
dest='scheduler',
type='choice',
type=str,
choices=['sequential', 'static', 'dynamic', 'slurm'],
default='sequential',
help='Method used by pytest_parallel to schedule tests',
Expand Down

0 comments on commit b2e3ff3

Please sign in to comment.