mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Updated test_crypt test to jive with bwarsaw testing style
This commit is contained in:
parent
a38ab505b6
commit
b6454e58bc
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue