'A NotImplementedError is raised when using acceptableProtocols on a
platform that does not support either NPN or ALPN.'

def test_NPNAndALPNNotImplemented(self):

    protocols = ['h2', 'http/1.1']
    self.assertRaises(NotImplementedError, negotiateProtocol, serverProtocols=protocols, clientProtocols=protocols)
