Mercurial > public > mercurial-scm > python-hglib
view tests/test-hglib.py @ 105:86ff8611a8fa 0.3
client: always set HGPLAIN=1 (issue3502)
Not setting it breaks output parsing on some commands.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 15 Oct 2012 09:45:43 -0700 |
parents | d1f57f162274 |
children | 1b47146a4a2c |
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()