We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98692e7 commit 350dfd2Copy full SHA for 350dfd2
tests/system/small/test_anywidget.py
@@ -88,6 +88,18 @@ def table_widget(paginated_bf_df: bf.dataframe.DataFrame):
88
return widget
89
90
91
+@pytest.fixture(scope="module", autouse=True)
92
+def cleanup_session(session):
93
+ """Ensure session cleanup happens after all tests in this module."""
94
+ yield
95
+ # Force cleanup of all temporary resources if session is still active
96
+ try:
97
+ session.close()
98
+ except Exception:
99
+ # Session may already be closed by the global fixture
100
+ pass
101
+
102
103
def _assert_html_matches_pandas_slice(
104
table_html: str,
105
expected_pd_slice: pd.DataFrame,
0 commit comments