Hello Barry,

thank you for your reply and clarifying the Fedora aspects.

Am 25.10.2024 00:44 schrieb Barry:
What do you mean by the real file sustem?

You cannot write to the /usr file system. Is that what your tests do?
If so that needs changing.

Asking the right questions brings up to important details. While I was writing and trying to explain that the relevant test does use ""tempfile.TemporaryDirectory" as a context, I realized that "PyFakeFS" is used in the back [1].

But that makes me wonder. On a "regular" system all tests are running. So the issue might exist because of a combination of 3 factors: shutil.rmtree(), PyFakeFS in a chroot/mock build environment.

[1] -- <https://github.com/bit-team/backintime/blob/c1d042ab67b9e117ac53e944518a0f4292fa075b/common/test/test_uniquenessset.py#L45>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to