Skip to content

Commit

Permalink
removing duplicate assert
Browse files Browse the repository at this point in the history
  • Loading branch information
taconi authored and abn committed Jan 14, 2025
1 parent 5df4523 commit b964173
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_shell_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def test_is_not_venv(tester: CommandTester, mocker: MockerFixture) -> None:
mocker.patch.object(tester.command.env, "is_venv", new=lambda: False)

tester.execute()
assert isinstance(tester.command, ShellCommand)
expected_output = (
f"The Python environment at {tester.command.env.path} "
"cannot be activated as it is not a virtural environment.\n"
Expand Down

0 comments on commit b964173

Please sign in to comment.