def test_lastSentence(self):
        """
        The last sentence in a GSV sequence is correctly identified.
        """
        self.protocol.lineReceived(GPGSV_LAST)
        sentence = self.receiver.receivedSentence

        self.assertFalse(sentence._isFirstGSVSentence())
        self.assertTrue(sentence._isLastGSVSentence())

        The last sentence in a GSV sequence is correctly identified.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_nmea.py