Hotfix: changes in pytest finalizer callback