def test_ignoresComments(self):
        """
        L{checkers.readAuthorizedKeyFile} does not attempt to turn comments
        into keys
        """
        fileobj = BytesIO(b'# this comment is ignored\n'
                          b'this is not\n'
                          b'# this is again\n'
                          b'and this is not')
        result = checkers.readAuthorizedKeyFile(fileobj, lambda x: x)
        self.assertEqual([b'this is not', b'and this is not'], list(result))

        L{checkers.readAuthorizedKeyFile} does not attempt to turn comments
        into keys
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_checkers.py