def test_invalidDay(self):
        """
        A datestring with an invalid day (more days than there are in that
        month) raises C{ValueError}.
        """
        self._fixerTest({'datestamp': '320101'}, exceptionClass=ValueError)
        self._fixerTest({'datestamp': '300201'}, exceptionClass=ValueError)

        A datestring with an invalid day (more days than there are in that
        month) raises C{ValueError}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_nmea.py