We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5127e16 commit 85b836bCopy full SHA for 85b836b
1 file changed
git/test/test_submodule.py
@@ -562,5 +562,6 @@ def test_root_module(self, rwrepo):
562
rm.update(recursive=True, progress=prog, dry_run=True) # just to run the code
563
rm.update(recursive=True, progress=prog)
564
565
- assert len(nsm.children()) >= 2 and nsmc.module_exists()
+ # gitdb: has either 1 or 2 submodules depending on the version
566
+ assert len(nsm.children()) >= 1 and nsmc.module_exists()
567
0 commit comments