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.