Skip to content

Commit f1e6e8d

Browse files
committed
2 parents cf29514 + d858916 commit f1e6e8d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

git/objects/submodule/root.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
Submodule,
33
UpdateProgress
44
)
5-
from .util import (
6-
find_first_remote_branch
7-
)
5+
from .util import find_first_remote_branch
86
from git.exc import InvalidGitRepositoryError
97
import git
108

test/test_refs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def test_head_reset(self, rw_repo):
457457

458458
self.assertRaises(OSError, SymbolicReference.create, rw_repo, symref_path, cur_head.reference.commit)
459459
# it works if the new ref points to the same reference
460-
SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect
460+
assert SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect
461461
SymbolicReference.delete(rw_repo, symref)
462462
# would raise if the symref wouldn't have been deletedpbl
463463
symref = SymbolicReference.create(rw_repo, symref_path, cur_head.reference)

0 commit comments

Comments
 (0)