-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #664 #665
fix #664 #665
Conversation
a) Why don't the tests catch this? |
Tests didn't catch this because to have it take the fallback path we fetched the values from cffi and then monkeypatched our constants (/~https://github.com/pyca/pyopenssl/blob/master/tests/test_ssl.py#L1114-L1142). So the comparison succeed since they were both bytes. I think a better fix here is just to declare these as byte strings and not unicode. They're not really paths to us, just sentinel values. |
That's also fine with me. |
Codecov Report
@@ Coverage Diff @@
## master #665 +/- ##
=======================================
Coverage 96.94% 96.94%
=======================================
Files 18 18
Lines 5737 5737
Branches 401 401
=======================================
Hits 5562 5562
Misses 117 117
Partials 58 58
Continue to review full report at Codecov.
|
trailing whitespace makes the flake8 fail |
Why can't GitHub's editor strip trailing whitespace like my vim config does. |
Send a feature request! |
No description provided.