Mercurial > cpython-lru_cache-weakref
view Lib/test/test_crypt.py @ 58765:2ba7677bfa95 legacy-trunk
testCopysign was defined twice in test_math; combine the definitions
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sat, 06 Feb 2010 23:11:25 +0000 |
| parents | f2c90fd05d66 |
| children |
line wrap: on
line source
from test import test_support import unittest crypt = test_support.import_module('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()
