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