view tests/test-hglib.py @ 135:f6b6e16531f8

Added tag 1.4 for changeset 1b47146a4a2c
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Oct 2014 15:03:32 -0500
parents 1b47146a4a2c
children c1b966866ed7
line wrap: on
line source

import common, 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()