Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
a612dc02ced728f553dcc91ca557a2a8b7fa0ca6
/
.
/
Lib
/
test
/
test_crypt.py
blob: a9c28cd6bd2fbc7e1ce68e03009368bf9c6bf9cf [
file
] [
log
] [
blame
]
#! /usr/bin/env python
"""Simple test script for cryptmodule.c
Roger E. Masse
"""
from
test
.
test_support
import
verbose
import
crypt
c
=
crypt
.
crypt
(
'mypassword'
,
'ab'
)
if
verbose
:
print
(
'Test encryption: '
,
c
)