Mercurial > cpython-lru_cache-weakref
view Lib/test/test_crypt.py @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +0000 |
| parents | 49dc9af90b3d |
| children | f2c90fd05d66 |
line wrap: on
line source
from test import test_support import unittest import crypt class CryptTestCase(unittest.TestCase): def test_crypt(self): c = crypt.crypt('mypassword', 'ab') if test_support.verbose: print 'Test encryption: ', c def test_main(): test_support.run_unittest(CryptTestCase) if __name__ == "__main__": test_main()
