def testUnknownName(self):
        """
        Only allow sending the C{STATUS} names defined in RFC 3501.

        @see: U{https://tools.ietf.org/html/rfc3501#section-5.1.2}
        """
        exc = self.assertRaises(
            ValueError,
            self.client.status,
            "ignored", "IMPOSSIBLE?!",
        )
        self.assertEqual(str(exc),
                         "Unknown names: " + repr(set(["IMPOSSIBLE?!"])))

        Only allow sending the C{STATUS} names defined in RFC 3501.

        @see: U{https://tools.ietf.org/html/rfc3501#section-5.1.2}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_imap.py