diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-04 11:22:20 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-04 11:24:39 +0100 |
commit | 965a08c3f9f2fbd62691d533425c699c943cb865 (patch) | |
tree | 7bb0e6cf82ce6e972fea2dfe9043815694cb06d2 /git/test | |
parent | acac4bb07af3f168e10eee392a74a06e124d1cdd (diff) | |
download | gitpython-965a08c3f9f2fbd62691d533425c699c943cb865.tar.gz |
Applied autopep8
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
Diffstat (limited to 'git/test')
-rw-r--r-- | git/test/lib/helper.py | 2 | ||||
-rw-r--r-- | git/test/performance/__init__.py | 1 | ||||
-rw-r--r-- | git/test/performance/lib.py | 4 | ||||
-rw-r--r-- | git/test/test_index.py | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index df94abde..341f5789 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -196,7 +196,7 @@ def with_rw_and_rw_remote_repo(working_tree_ref): time.sleep(0.5) except Exception as err: gd = None - # end + # end # try to list remotes to diagnoes whether the server is up try: diff --git a/git/test/performance/__init__.py b/git/test/performance/__init__.py index 8b137891..e69de29b 100644 --- a/git/test/performance/__init__.py +++ b/git/test/performance/__init__.py @@ -1 +0,0 @@ - diff --git a/git/test/performance/lib.py b/git/test/performance/lib.py index 9b6f45bf..e92e2b2d 100644 --- a/git/test/performance/lib.py +++ b/git/test/performance/lib.py @@ -49,12 +49,14 @@ class TestBigRepoR(TestBase): repo_path = os.environ.get(k_env_git_repo) if repo_path is None: - logging.info("You can set the %s environment variable to a .git repository of your choice - defaulting to the gitpython repository", k_env_git_repo) + logging.info( + "You can set the %s environment variable to a .git repository of your choice - defaulting to the gitpython repository", k_env_git_repo) repo_path = os.path.dirname(__file__) # end set some repo path self.gitrorepo = Repo(repo_path, odbt=GitCmdObjectDB) self.puregitrorepo = Repo(repo_path, odbt=GitDB) + class TestBigRepoRW(TestBigRepoR): """As above, but provides a big repository that we can write to. diff --git a/git/test/test_index.py b/git/test/test_index.py index 5431df44..3f85ea90 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -216,7 +216,7 @@ class TestIndex(TestBase): # if missing objects are okay, this would work though ( they are always okay now ) # As we can't read back the tree with NULL_SHA, we rather set it to something else - index.entries[manifest_key] = IndexEntry(manifest_entry[:1] + (hex_to_bin('f'*40),) + manifest_entry[2:]) + index.entries[manifest_key] = IndexEntry(manifest_entry[:1] + (hex_to_bin('f' * 40),) + manifest_entry[2:]) tree = index.write_tree() # now make a proper three way merge with unmerged entries |