def test_uppercasing(self):
        """
        Error output case adjustment does not mangle options
        """
        opt = WellBehaved()
        e = self.assertRaises(usage.UsageError,
                              opt.parseOptions, ['-Z'])
        self.assertEqual(str(e), 'option -Z not recognized')

        Error output case adjustment does not mangle options
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_usage.py