Let's think of another way to solve this, this is way too ugly for my
tastes :-)


On Tue, Jan 21, 2014 at 2:56 PM, Alex Stapleton <notifications@github.com>wrote:

> In cryptography/hazmat/bindings/openssl/binding.py:
>
> > @@ -86,3 +91,36 @@ def _ensure_ffi_initialized(cls):
> >      def is_available(cls):
> >          # OpenSSL is the only binding so for now it must always be available
> >          return True
> > +
> > +    def init_static_locks(self):
> > +        # use Pythons implementation if available
> > +        try:
> > +            __import__("_ssl")
> > +            raise ImportError
>
> Because otherwise the except branch doesn't get coverage :-/
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/492/files#r9053938>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084