def test_simpleTCP(self):
        """
        Simple strings with a 'tcp:' prefix should be parsed as TCP.
        """
        self.assertEqual(
            self.parse('tcp:80', self.f),
            ('TCP', (80, self.f), {'interface': '', 'backlog': 50}))

        Simple strings with a 'tcp:' prefix should be parsed as TCP.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_endpoints.py