Author: Amaury Forgeot d'Arc <[email protected]>
Branch: stdlib-2.7.9
Changeset: r75657:22cbcc2a0bd4
Date: 2015-02-02 21:38 +0100
http://bitbucket.org/pypy/pypy/changeset/22cbcc2a0bd4/
Log: Fix test, checked with CPython
diff --git a/pypy/module/_ssl/test/test_ssl.py
b/pypy/module/_ssl/test/test_ssl.py
--- a/pypy/module/_ssl/test/test_ssl.py
+++ b/pypy/module/_ssl/test/test_ssl.py
@@ -330,7 +330,7 @@
with open(self.keycert) as f:
cacert_pem = f.read().decode('ascii')
ctx.load_verify_locations(cadata=cacert_pem)
- assert ctx.cert_store_stats()["x509_ca"]
+ assert ctx.cert_store_stats()["x509_ca"] == 0
def test_get_ca_certs(self):
import _ssl
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit