This whole `try`/`except` logic can be replaced by a `self.assertRaises(SSLError, backend.open)`.