mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Skip test_smtpnet when ssl is not available
This commit is contained in:
parent
e0cb15ac9d
commit
0d38f2e65f
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
import unittest
|
||||
from test import support
|
||||
import smtplib
|
||||
import ssl
|
||||
|
||||
ssl = support.import_module("ssl")
|
||||
|
||||
support.requires("network")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue