mirror of https://github.com/python/cpython
Updated test_crypt test to jive with bwarsaw testing style
This commit is contained in:
parent
a38ab505b6
commit
b6454e58bc
|
@ -2,5 +2,11 @@
|
|||
"""Simple test script for cryptmodule.c
|
||||
Roger E. Masse
|
||||
"""
|
||||
verbose = 0
|
||||
if __name__ == '__main__':
|
||||
verbose = 1
|
||||
|
||||
import crypt
|
||||
print 'Test encryption: ', crypt.crypt('mypassword', 'ab')
|
||||
c = crypt.crypt('mypassword', 'ab')
|
||||
if verbose:
|
||||
print 'Test encryption: ', c
|
||||
|
|
Loading…
Reference in New Issue