def test_iterable_inheriting_warns() -> None:
    """Subclassing the deprecated git.util.Iterable issues a deprecation warning."""
    with pytest.deprecated_call():

        class Derived(_Iterable):
            pass
Subclassing the deprecated git.util.Iterable issues a deprecation warning.
test/deprecation/test_basic.py