• Berker Peksag's avatar
    Fix typos in mock and exceptions docs · 8fafc74d
    Berker Peksag authored
    The default value of __len__ is 0, not 1:
    
        >>> from unittest.mock import MagicMock
        >>> mock = MagicMock()
        >>> len(mock)
        0
    
    Reported by Alex on docs@p.o.
    
    Remove the remaining VMSError reference. VMS support is gone.
    8fafc74d
unittest.mock.rst 82.5 KB