mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			Python
		
	
	
		
			Executable file
		
	
	
	
	
#! /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)
 |