Lines Matching refs:file
133 # Same certificate as pycacert.pem, but without extra text in file
686 """Wrapping with an empty cert file"""
1375 # Combined key and cert in a single file
2159 @unittest.skipIf(os.name == "nt", "Can't use a socket as a file under Windows")
2161 # Issue #5238: creating a file-like object with makefile() shouldn't
2163 # file descriptor, hence skipping the test under Windows).
3057 # VERIFY_CRL_CHECK_LEAF without a loaded CRL file fails
3068 # now load a CRL file. The CRL file is signed by the CA.
4359 with open(os_helper.TESTFN, 'rb') as file:
4360 s.sendfile(file)
5290 raise support.TestFailed("Can't read certificate file %r" % filename)