File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Changelog
66
77- check-manifest was missing from the requirements list.
88
9+ - Passing in multiple tests to be skipped now actually works [Matt Norton]
10+
911
10125.0 (2025-07-15)
1113----------------
Original file line number Diff line number Diff line change @@ -132,3 +132,4 @@ Contributors:
132132 * RuRo
133133 * Wesley Barroso Lopes
134134 * Alexander Bessman
135+ * Matt Norton
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ def parse_tests(arg):
4747 if not arg :
4848 return
4949
50+ # Split on spaces, commas and semicolons
5051 arg = [arg ]
5152 for sep in " ,;" :
5253 skips = []
@@ -57,6 +58,7 @@ def parse_tests(arg):
5758 tests = get_all_tests ()
5859 for skip in arg :
5960 if skip not in tests :
61+ # Invalid test mentioned, fail and print valid tests
6062 return
6163
6264 return arg
@@ -67,6 +69,7 @@ def skip_tests(arg):
6769 if test_to_skip :
6870 return test_to_skip
6971
72+ # It returned None, so there was an invalid test mentioned, or none at all
7073 tests = ", " .join (get_all_tests ())
7174 message = f"Invalid tests listed. Available tests: { tests } "
7275 raise ArgumentTypeError (message )
You can’t perform that action at this time.
0 commit comments