diff --git a/tests/unit/activation/test_csh.py b/tests/unit/activation/test_csh.py index f9539c5af..afdb08f49 100644 --- a/tests/unit/activation/test_csh.py +++ b/tests/unit/activation/test_csh.py @@ -7,6 +7,8 @@ def __init__(self, session): super().__init__(CShellActivator, session, "csh", "activate.csh", "csh") def print_prompt(self): - return "echo 'source \"$VIRTUAL_ENV/bin/activate.csh\"; echo $prompt' | csh -i" + # Original csh doesn't print the last newline, + # breaking the test; hence the trailing echo. + return "echo 'source \"$VIRTUAL_ENV/bin/activate.csh\"; echo $prompt' | csh -i ; echo" activation_tester(Csh)