[PKG-Openstack-devel] Bug#842944: Ressource leak: /dev/null not closed

Etienne Fabian E.Fabian at intenta.de
Wed Nov 2 13:11:03 UTC 2016

Package: python3-xvfbwrapper
Version: 0.2.4-1
Tags: patch

When using xvfbwrapper with unittest discover (python3) an error message occurs. Reason is a missing 'close' on a ressource. In the attachement you can find a patch solving the problem.

Error message:
/usr/lib/python3/dist-packages/xvfbwrapper.py:53: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'> stderr=open(os.devnull),

Etienne Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-xvfbwrapper_0.2.4-1.1.debdiff
Type: application/octet-stream
Size: 2220 bytes
Desc: python-xvfbwrapper_0.2.4-1.1.debdiff
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161102/8ee6c3e9/attachment.obj>

More information about the Openstack-devel mailing list