A few cleanups for CalledProcessError to hopefully make it more readable

This commit is contained in:
Anthony Sottile 2019-12-23 17:46:39 -08:00
parent 83f0802578
commit b90412742e
4 changed files with 36 additions and 45 deletions

View file

@ -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)