comparison tests/test-hglib.py @ 62:d1f57f162274

closefds on posix when using subprocess see added test for a clarification on why this is needed
author Idan Kamara <idankk86@gmail.com>
date Fri, 19 Aug 2011 22:24:14 +0300
parents
children 1b47146a4a2c
comparison
equal deleted inserted replaced
61:d0b9215180a4 62:d1f57f162274
1 import common, hglib
2
3 class test_hglib(common.basetest):
4 def setUp(self):
5 pass
6
7 def test_close_fds(self):
8 """
9 A weird Python bug that has something to do to inherited file descriptors,
10 see http://bugs.python.org/issue12786
11 """
12 common.basetest.setUp(self)
13 client2 = hglib.open()
14 self.client.close()