fix super call in list comprehension

This commit is contained in:
Tony Huang 2024-01-26 10:08:55 +08:00 committed by David Lord
parent 3435d2ff15
commit 1af8f95785
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 10 additions and 1 deletions

View file

@ -679,3 +679,8 @@ def test_cli_empty(app):
result = app.test_cli_runner().invoke(args=["blue", "--help"])
assert result.exit_code == 2, f"Unexpected success:\n\n{result.output}"
def test_run_exclude_patterns():
ctx = run_command.make_context("run", ["--exclude-patterns", __file__])
assert ctx.params["exclude_patterns"] == [__file__]