Issue #3389: Allow resolving dotted names for handlers in logging configuration files...
[python.git] / Lib / test / test_crypt.py
blobf6f3a8171edc799a58b5eb9e06d0d99777782276
1 from test import test_support
2 import unittest
3 import crypt
5 class CryptTestCase(unittest.TestCase):
7 def test_crypt(self):
8 c = crypt.crypt('mypassword', 'ab')
9 if test_support.verbose:
10 print 'Test encryption: ', c
12 def test_main():
13 test_support.run_unittest(CryptTestCase)
15 if __name__ == "__main__":
16 test_main()