[pypy-commit] pypy merge-2.7.2: test_ssl: Correctly use the helper function to find data files

amauryfa noreply at buildbot.pypy.org
Sun Jan 22 19:23:35 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: merge-2.7.2
Changeset: r51652:a49166fe832a
Date: 2012-01-22 18:01 +0100
http://bitbucket.org/pypy/pypy/changeset/a49166fe832a/

Log:	test_ssl: Correctly use the helper function to find data files

diff --git a/lib-python/modified-2.7/test/test_ssl.py b/lib-python/modified-2.7/test/test_ssl.py
--- a/lib-python/modified-2.7/test/test_ssl.py
+++ b/lib-python/modified-2.7/test/test_ssl.py
@@ -1334,7 +1334,6 @@
     global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT
     CERTFILE = test_support.findfile("keycert.pem")
     SVN_PYTHON_ORG_ROOT_CERT = test_support.findfile(
-        os.path.dirname(__file__) or os.curdir,
         "https_svn_python_org_root.pem")
 
     if (not os.path.exists(CERTFILE) or


More information about the pypy-commit mailing list