'Only supports "strict" error handler'

def test_errors(self):

    'python.org'.encode('idna', 'strict')
    'python.org'.decode('idna', 'strict')
    for errors in ('ignore', 'replace', 'backslashreplace', 'surrogateescape'):
        self.assertRaises(Exception, 'python.org'.encode, 'idna', errors)
        self.assertRaises(Exception, 'python.org'.decode, 'idna', errors)
