Commit e3fb7f27 by finswimmer Committed by Bjorn Neergaard

fix formatting by pyupgrade

parent e05ad9b1
...@@ -42,7 +42,7 @@ def test_run_keeps_options_passed_before_command( ...@@ -42,7 +42,7 @@ def test_run_keeps_options_passed_before_command(
def test_run_has_helpful_error_when_command_not_found( def test_run_has_helpful_error_when_command_not_found(
app_tester: "ApplicationTester", env: "MockEnv" app_tester: ApplicationTester, env: MockEnv
): ):
env._execute = True env._execute = True
app_tester.execute("run nonexistent-command") app_tester.execute("run nonexistent-command")
......
...@@ -1589,7 +1589,7 @@ required by ...@@ -1589,7 +1589,7 @@ required by
assert actual == expected assert actual == expected
def test_show_errors_without_lock_file(tester: "CommandTester", poetry: "Poetry"): def test_show_errors_without_lock_file(tester: CommandTester, poetry: Poetry):
assert not poetry.locker.lock.exists() assert not poetry.locker.lock.exists()
tester.execute() tester.execute()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment