def test_knownTypeRepr(self):
        """
        Test the repr of an empty sentence of known type.
        """
        sentence = self.sentenceClass({"type": self.sentenceType})
        expectedRepr = self._expectedRepr(self.sentenceType)
        self.assertEqual(repr(sentence), expectedRepr)

        Test the repr of an empty sentence of known type.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_sentence.py