Commit 77c8bc4
authored
tests: make the TLS tests skip when pyopenssl isn't available (#1873)
In some distributions e.g. yocto
pyOpenSSL is a packageconfig and disabled by default, and it means pyopenssl.py module is not installed as a result.
This test fails plainly when it can not find urllib3.contrib.pyopenssl instead skip the test if it does not find the module.1 parent 0b9107d commit 77c8bc4
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
0 commit comments