Title: #4965: [ipa-4-6] ipatests: fix test_sssd.py::TestNestedMembers
On RHEL 7.9, python2 is still used and pytest fails in this line:
tmpdir, 'ssh_priv_key'), 'w') as fp:
because tmpdir is a LocalPath object (built as a pytest fixture) and
os.path.join() supports Path-like objects since python 3.6 only (see
The issue doesn't happen upstream because python3 is used.
The fix is very simple and consists in using str(tmpdir).
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4965/head:pr4965
git checkout pr4965