@alexeckle: You're right, isinstance has to check directly against ssl.SSLContext. I didn't pay enough attention when writing the tests, so the previous version checked against the mocked version of the SSLContext (which is incorrect).
Both the implementation and the tests are fixed with this PR.
Fix #36
@alexeckle: You're right,
isinstance
has to check directly againstssl.SSLContext
. I didn't pay enough attention when writing the tests, so the previous version checked against the mocked version of the SSLContext (which is incorrect).Both the implementation and the tests are fixed with this PR.