def test_parseVersion(self):
        """
        L{HTTPClientParser.parseVersion} parses a status line into its three
        components.
        """
        protocol = HTTPClientParser(None, None)
        self.assertEqual(
            protocol.parseVersion(b'CANDY/7.2'),
            (b'CANDY', 7, 2))

        L{HTTPClientParser.parseVersion} parses a status line into its three
        components.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_newclient.py