]> granicus.if.org Git - python/commit
Issue #12012: test_ssl uses test_support.import_module()
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 22 May 2011 11:22:28 +0000 (13:22 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 22 May 2011 11:22:28 +0000 (13:22 +0200)
commit2e7f39e889786f826b62fb5a18d75e56267c9c92
tree9d3511c9d1bc80ee6bcf2929940bdeff80d74ae0
parente91b305d28f15e2dcbd99ba47ff39808cb2bf4c4
Issue #12012: test_ssl uses test_support.import_module()

Skip the whole file if the SSL module is missing. It was already the case,
except that the SkipTest exception was raised in test_main().

This commit fixes an error in test_ssl if the ssl module is missing.
Lib/test/test_ssl.py