diff options
-rw-r--r-- | git/objects/submodule/root.py | 4 | ||||
-rw-r--r-- | test/test_refs.py | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/git/objects/submodule/root.py b/git/objects/submodule/root.py index bcac5419..5e84d161 100644 --- a/git/objects/submodule/root.py +++ b/git/objects/submodule/root.py @@ -2,9 +2,7 @@ from .base import ( Submodule, UpdateProgress ) -from .util import ( - find_first_remote_branch -) +from .util import find_first_remote_branch from git.exc import InvalidGitRepositoryError import git diff --git a/test/test_refs.py b/test/test_refs.py index f30d4bda..ab760a6f 100644 --- a/test/test_refs.py +++ b/test/test_refs.py @@ -457,7 +457,7 @@ class TestRefs(TestBase): self.assertRaises(OSError, SymbolicReference.create, rw_repo, symref_path, cur_head.reference.commit) # it works if the new ref points to the same reference - SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect + assert SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect SymbolicReference.delete(rw_repo, symref) # would raise if the symref wouldn't have been deletedpbl symref = SymbolicReference.create(rw_repo, symref_path, cur_head.reference) |