view tests/test-hglib.py @ 161:ec935041d1ff

Added tag 1.6 for changeset 91329df47df5
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Apr 2015 13:34:58 -0500
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()