Skip test_smtpnet when ssl is not available

This commit is contained in:
Antoine Pitrou 2011-05-18 20:02:50 +02:00
parent e0cb15ac9d
commit 0d38f2e65f
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
import unittest
from test import support
import smtplib
import ssl
ssl = support.import_module("ssl")
support.requires("network")