From 44c6d0b368bc1ec6cd0a97b01678b38788c9bd9c Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Wed, 28 Sep 2016 05:46:50 +0200 Subject: Proc, #519: Rework error-exc msgs & log thread-pumps errors + No WindowsError exception. + Add `test_exc.py` for unicode issues. + Single-arg for decoding-streams in pump-func. --- git/test/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_index.py') diff --git a/git/test/test_index.py b/git/test/test_index.py index c78890ae..08d6491d 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -730,7 +730,7 @@ class TestIndex(TestBase): index.commit("This should fail") except HookExecutionError as err: if is_win: - self.assertIsInstance(err.status, WindowsError) + self.assertIsInstance(err.status, OSError) self.assertEqual(err.command, hp) self.assertIsNone(err.stdout) self.assertIsNone(err.stderr) -- cgit v1.2.1