diff --git a/tests/test_shell_command.py b/tests/test_shell_command.py index 8a2b3a5..02d8f73 100644 --- a/tests/test_shell_command.py +++ b/tests/test_shell_command.py @@ -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"