| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 96fc354 commit f5dc1c4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -696,8 +696,9 @@ def test_iter_items_from_nonexistent_hash(self): | |||
| 696 | 696 | def test_iter_items_from_invalid_hash(self): | |
| 697 | 697 | """Check legacy behavaior on BadName (also applies to IOError, i.e. OSError).""" | |
| 698 | 698 | it = Submodule.iter_items(self.rorepo, "xyz") | |
| 699 | - with self.assertRaises(StopIteration): | ||
| 699 | + with self.assertRaises(StopIteration) as ctx: | ||
| 700 | 700 | next(it) | |
| 701 | + self.assertIsNone(ctx.exception.value) | ||
| 701 | 702 | ||
| 702 | 703 | @with_rw_repo(k_no_subm_tag, bare=False) | |
| 703 | 704 | def test_first_submodule(self, rwrepo): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments