summaryrefslogtreecommitdiff
path: root/git/test/test_index.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-28 05:46:50 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-28 17:13:34 +0200
commit44c6d0b368bc1ec6cd0a97b01678b38788c9bd9c (patch)
treead44c36bf3527711f4dec4417f465af8ef2b5308 /git/test/test_index.py
parentf11fdf1d9d22a198511b02f3ca90146cfa5deb5c (diff)
downloadgitpython-44c6d0b368bc1ec6cd0a97b01678b38788c9bd9c.tar.gz
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.
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r--git/test/test_index.py2
1 files changed, 1 insertions, 1 deletions
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)