Skip to content

Commit

Permalink
tests/command/init: fix incorrect patching
Browse files Browse the repository at this point in the history
Relates-to: #2899
  • Loading branch information
abn committed Jun 27, 2021
1 parent 7fac676 commit 22c3aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/console/commands/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_noninteractive(app, mocker, poetry, repo, tmp_path):

repo.add_package(get_package("pytest", "3.6.0"))

p = mocker.patch("poetry.utils._compat.Path.cwd")
p = mocker.patch("pathlib.Path.cwd")
p.return_value = tmp_path

tester = CommandTester(command)
Expand Down

0 comments on commit 22c3aad

Please sign in to comment.