Commit de0b32c2 by Miro Hrončok Committed by GitHub

tests: fix a typo in mocker autospec

parent b8f9547a
......@@ -174,7 +174,7 @@ def test_info_setup_complex(demo_setup_complex):
def test_info_setup_complex_pep517_error(mocker, demo_setup_complex):
mocker.patch(
"poetry.utils.env.VirtualEnv.run",
auto_spec=True,
autospec=True,
side_effect=EnvCommandError(CalledProcessError(1, "mock", output="mock")),
)
......
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