Mercurial > hgsubversion
diff tests/test_push_command.py @ 483:37718f514acb
No os.kill() in Windows, use ctypes to call Win32 TerminateProcess()
author | Risto Kankkunen <risto.kankkunen@iki.fi> |
---|---|
date | Wed, 29 Jul 2009 19:01:13 +0300 |
parents | 62f90781eb10 |
children | c2d0e738c899 |
line wrap: on
line diff
--- a/tests/test_push_command.py +++ b/tests/test_push_command.py @@ -106,7 +106,8 @@ class PushTests(test_util.TestBase): self.assertNotEqual('an_author', tip.user()) self.assertEqual('None', tip.user().rsplit('@', 1)[0]) finally: - os.kill(self.svnserve_pid, 9) + # TODO: use svnserve.kill() in Python >2.5 + test_util.kill_process(svnserve) def test_push_to_default(self, commit=True): repo = self.repo