def test_cannot_import_ssl(self):

    def import_ssl():
        import ssl
    self.assertRaises(ImportError, import_ssl)
def test_cannot_import_ssl(self):

    def import_ssl():
        import ssl
    self.assertRaises(ImportError, import_ssl)