diff --git a/docs/changelog.md b/docs/changelog.md index 4bc9680..6d7a8c9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,6 +1,11 @@ # Changelog -### 1.11.0 - dropped support for python < 3.9 and fixed - pytest 8.4.0 (in progress) +### 1.11.1 - fixed xdist pickling error logging (in progress) + +- Fixed a `TypeError` raised when an error occurs while pickling the xdist worker results. + PR [#85](https://github.com/smarie/python-pytest-harvest/pull/85) by [@Jonas1312](https://github.com/Jonas1312). + +### 1.11.0 - dropped support for python < 3.9 and fixed - pytest 8.4.0 - Dropped support for python <3.9 and added a proper github pages workflow (explicit). Removed `six` from dependencies. Fixed [#79](https://github.com/smarie/python-pytest-harvest/issues/79) diff --git a/src/pytest_harvest/plugin.py b/src/pytest_harvest/plugin.py index e08793e..300d296 100644 --- a/src/pytest_harvest/plugin.py +++ b/src/pytest_harvest/plugin.py @@ -403,7 +403,7 @@ def pytest_harvest_xdist_worker_dump(self, worker_id, session_items, fixture_sto try: pickle.dump((session_items, fixture_store), f) except Exception as e: - warning("Error while pickling worker %s's harvested results: [%s] %s", (worker_id, e.__class__, e)) + warning("Error while pickling worker %s's harvested results: [%s] %s", worker_id, e.__class__, e) return True @pytest.hookimpl(trylast=True)