diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-18 17:09:13 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-18 17:09:13 +0200 |
commit | 9840afda82fafcc3eaf52351c64e2cfdb8962397 (patch) | |
tree | f879f2e798ad2d5345d7eca7da76db7c00181481 /test/testlib/helper.py | |
parent | 225999e9442c746333a8baa17a6dbf7341c135ca (diff) | |
download | gitpython-9840afda82fafcc3eaf52351c64e2cfdb8962397.tar.gz |
diff method now checks for git-diff errrs that can easily occour if the repository is bare and if there is no index or second tree specified
Diffstat (limited to 'test/testlib/helper.py')
-rw-r--r-- | test/testlib/helper.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testlib/helper.py b/test/testlib/helper.py index c4c0f2ba..b34c9303 100644 --- a/test/testlib/helper.py +++ b/test/testlib/helper.py @@ -52,3 +52,9 @@ class ListProcessAdapter(object): def __init__(self, input_list_or_string): self.stdout = self.Stream(input_list_or_string) + self.stderr = self.Stream('') + + def wait(self): + return 0 + + poll = wait |