[Rpm-maint] [rpm-software-management/rpm] Python tests: Close open files (PR #2675)

Petr Viktorin notifications at github.com
Thu Sep 21 08:10:33 UTC 2023


I dialed up my Python debug settings, and got complaints about unclosed files on stderr, whis caused tests to fail for me.

This properly closes all the files the Python tests `open`s.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2675

-- Commit Summary --

  * Python tests: Close open files

-- File Changes --

    M tests/rpmpython.at (16)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2675.patch
https://github.com/rpm-software-management/rpm/pull/2675.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2675
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2675 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230921/e666692f/attachment.html>


More information about the Rpm-maint mailing list