Avoid using symlink, since we cannot use it on windows
diff --git a/test/test_ssl.py b/test/test_ssl.py
index bf28ca3..cc715a1 100644
--- a/test/test_ssl.py
+++ b/test/test_ssl.py
@@ -6,7 +6,7 @@
from sys import platform
from socket import socket
-from os import makedirs, symlink
+from os import makedirs
from os.path import join
from unittest import main
@@ -223,15 +223,13 @@
"""
capath = self.mktemp()
makedirs(capath)
- cafile = join(capath, 'cert.pem')
+ # Hash value computed manually with c_rehash to avoid depending on
+ # c_rehash in the test suite.
+ cafile = join(capath, 'c7adac82.0')
fObj = file(cafile, 'w')
fObj.write(cleartextCertificatePEM)
fObj.close()
- # Hash value computed manually with c_rehash to avoid depending on
- # c_rehash in the test suite.
- symlink('cert.pem', join(capath, 'c7adac82.0'))
-
self._load_verify_locations_test(None, capath)