You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def test_show_option_unknown(session):
"""Session.show_option raises UnknownOption for invalid option."""
with pytest.raises(exc.UnknownOption):
session.show_option('moooz')
in tests/test_session.py
fails because my version of tmux (3.1b) prints "invalid option: moooz" when given an invalid option.
I have no easy way to test whether tmux 2's behaviour was to throw an "unknown option" instead.
I don't know how you want to fix this. Shall we throw a UnknownOption to maintain backwards compatibility (is any one try...excepting for this specifically anyway ?) Shall we remove this test now that tmux has changed its ways ?
The text was updated successfully, but these errors were encountered:
Hi,
The following test:
in tests/test_session.py
fails because my version of tmux (3.1b) prints "invalid option: moooz" when given an invalid option.
I have no easy way to test whether tmux 2's behaviour was to throw an "unknown option" instead.
I don't know how you want to fix this. Shall we throw a UnknownOption to maintain backwards compatibility (is any one try...excepting for this specifically anyway ?) Shall we remove this test now that tmux has changed its ways ?
The text was updated successfully, but these errors were encountered: