Mercurial > python-hglib
view tests/test-hglib.py @ 110:c635e6e7054f 0.9
context: raise same error when not found for all hg versions
hg log behavior changed, so modify context constructor to account for this
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Fri, 26 Apr 2013 01:46:08 +0400 |
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()