summaryrefslogtreecommitdiff
path: root/git/test/test_index.py
diff options
context:
space:
mode:
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)