Kaydet (Commit) fbd26867 authored tarafından Ezio Melotti's avatar Ezio Melotti

#16935: update test_crypt now that unittest discover understands SkipTest.

üst eae2b389
from test import support
import unittest
def setUpModule():
# this import will raise unittest.SkipTest if _crypt doesn't exist,
# so it has to be done in setUpModule for test discovery to work
global crypt
crypt = support.import_module('crypt')
crypt = support.import_module('crypt')
class CryptTestCase(unittest.TestCase):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment