Sometimes we have this warning when running tests. I checked that this happens also when running just this test alone. ``` tests/client/client_tests.py::test_send_remote_failover_sync_non_transport_exception_error /home/rm/src/apm-agent-python/venv313/lib/python3.13/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <gzip on 0x7fccbe63b280> Traceback (most recent call last): File "/usr/lib/python3.13/gzip.py", line 362, in close fileobj.write(self.compress.flush()) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ ValueError: I/O operation on closed file. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) ``` In order to see the warning you need to run python 3.13 or python 3.12with } `-X dev`. This is a followup to #2213