view tests/test-hglib.py @ 162:e0678dfb7aec 1.7

setup: parse PKG-INFO for version information (issue3924)
author Peter Elmers <peter.elmers@yahoo.com>
date Thu, 23 Jul 2015 09:18:01 -0700
parents c1b966866ed7
children e6589149b2c8
line wrap: on
line source

from tests import common
import hglib

class test_hglib(common.basetest):
    def setUp(self):
        pass

    def test_close_fds(self):
        """A weird Python bug that has something to do to inherited file
        descriptors, see http://bugs.python.org/issue12786
        """
        common.basetest.setUp(self)
        client2 = hglib.open()
        self.client.close()