Skip to content

Commit a1ff647

Browse files
committed
test(Session.attach): Remove xfail now that bug is fixed
why: The fix in the previous commit resolves the issue, so the test should now pass and serve as a permanent regression guard. what: - Remove xfail marker from test_session_attach_does_not_fail_if_session_killed_during_attach
1 parent d852aeb commit a1ff647

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_session.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,12 +515,6 @@ class SessionAttachRefreshFixture(t.NamedTuple):
515515
]
516516

517517

518-
@pytest.mark.xfail(
519-
reason="Bug: attach() calls refresh() which fails if session killed during attach. "
520-
"See: https://github.com/tmux-python/tmuxp/issues/1002",
521-
raises=Exception,
522-
strict=True,
523-
)
524518
@pytest.mark.parametrize(
525519
list(SessionAttachRefreshFixture._fields),
526520
SESSION_ATTACH_REFRESH_FIXTURES,

0 commit comments

Comments
 (0)