diff --git a/tests/test_session_switch_performance.py b/tests/test_session_switch_performance.py index 95d69673..8691aa75 100644 --- a/tests/test_session_switch_performance.py +++ b/tests/test_session_switch_performance.py @@ -31,6 +31,7 @@ def test_compression_continuation_fallback_reads_only_file_head(monkeypatch, tmp return self._inner.read(size) def __enter__(self): + self._inner.__enter__() return self def __exit__(self, exc_type, exc, tb):