mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-03 13:59:12 -05:00
A few cleanups for CalledProcessError to hopefully make it more readable
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ def test_clone_shallow_failure_fallback_to_complete(
|
||||
|
||||
# Force shallow clone failure
|
||||
def fake_shallow_clone(self, *args, **kwargs):
|
||||
raise CalledProcessError(None, None, None)
|
||||
raise CalledProcessError(None, None, None, None, None)
|
||||
store._shallow_clone = fake_shallow_clone
|
||||
|
||||
ret = store.clone(path, rev)
|
||||
|
||||
Reference in New Issue
Block a user