view tests/test-hglib.py @ 156:6d273d0a51aa

hglib: remove the user of str in hglib.context (issue5420)
author Brett Cannon <brett@python.org>
date Wed, 25 Mar 2015 20:19:09 -0400
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()