diff tests/test_push_command.py @ 484:c2d0e738c899

Merge win32 fixes
author Augie Fackler <durin42@gmail.com>
date Sat, 08 Aug 2009 08:01:24 -0500
parents db3a53a2cd76 37718f514acb
children cf4fe45bf8fd
line wrap: on
line diff
--- a/tests/test_push_command.py
+++ b/tests/test_push_command.py
@@ -131,7 +131,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