Commit 4dd89af
Match test_root_module's deep-traversal assertion to gitdb's structure
gitdb's `async` submodule was removed back in 2014
(gitpython-developers/gitdb@bf942a9); only smmap remains. The leading
"gitdb / async" comment and the `assert len(rsmsp) >= 2` check
(loosened back in 2011 from `== 2` in 4a8bdce when smmap was added
to gitdb alongside async) are both stale.
Replace with an exact list-equality check on the expected paths in
traversal order. That order is also what later code in this function
assumes via positional indexing `rsmsp[0]`, `rsmsp[1]`.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent de3a950 commit 4dd89af
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| |||
0 commit comments