Mercurial > python-hglib
view tests/test-hglib.py @ 154:11202c85737e
hglib: make sure hgclient.diff() works with bytes (issue4520)
author | Brett Cannon <brett@python.org> |
---|---|
date | Wed, 25 Mar 2015 20:15:54 -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()