def test_badGSAFixType(self):
        """
        GSA sentence data is not used when the fix claims to be valid
        (albeit only 2D), but the data mode says the data is void.
        Some GPSes do this, unfortunately, and that means you
        shouldn't use the data.
        """
        sentenceData = {'type': 'GPGSA',
                        'altitude': '545.4',
                        'dataMode': nmea.GPGLLGPRMCFixQualities.VOID,
                        'fixType': nmea.GPGSAFixTypes.GSA_2D_FIX}
        self._invalidFixTest(sentenceData)

        GSA sentence data is not used when the fix claims to be valid
        (albeit only 2D), but the data mode says the data is void.
        Some GPSes do this, unfortunately, and that means you
        shouldn't use the data.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_nmea.py