summaryrefslogtreecommitdiff
path: root/git/test/test_git.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-14 15:16:22 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-14 15:31:40 +0100
commitd3e5d9cda8eae5b0f19ac25efada6d0b3b9e04e5 (patch)
tree92f685fcb107eab2942d72a215a053bbb35c4d3c /git/test/test_git.py
parent9c5b87bcdd70810a20308384b0e3d1665f6d2922 (diff)
downloadgitpython-d3e5d9cda8eae5b0f19ac25efada6d0b3b9e04e5.tar.gz
Updated README to better represent current state
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r--git/test/test_git.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 5d4756ba..cdea1d3e 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -4,10 +4,9 @@
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-import os, sys
-from git.test.lib import (
- TestBase,
- patch,
+import os
+from git.test.lib import ( TestBase,
+ patch,
raises,
assert_equal,
assert_true,
@@ -65,7 +64,7 @@ class TestGit(TestBase):
@patch.object(Git, 'execute')
def test_it_ignores_false_kwargs(self, git):
# this_should_not_be_ignored=False implies it *should* be ignored
- output = self.git.version(pass_this_kwarg=False)
+ self.git.version(pass_this_kwarg=False)
assert_true("pass_this_kwarg" not in git.call_args[1])
def test_persistent_cat_file_command(self):
@@ -87,8 +86,8 @@ class TestGit(TestBase):
# read data - have to read it in one large chunk
size = int(obj_info.split()[2])
data = g.stdout.read(size)
- terminating_newline = g.stdout.read(1)
-
+ g.stdout.read(1)
+
# now we should be able to read a new object
g.stdin.write("b2339455342180c7cc1e9bba3e9f181f7baa5167\n")
g.stdin.flush()