Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_hashlib Namespace Reference

Classes

class  HashLibTestCase

Functions

def hexstr
def test_main

Variables

 threading = None
tuple COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')

Function Documentation

Definition at line 26 of file test_hashlib.py.

00026 
00027 def hexstr(s):
00028     assert isinstance(s, bytes), repr(s)
00029     h = "0123456789abcdef"
00030     r = ''
00031     for i in s:
00032         r += h[(i >> 4) & 0xF] + h[i & 0xF]
00033     return r
00034 

Here is the caller graph for this function:

Definition at line 373 of file test_hashlib.py.

00373 
00374 def test_main():
00375     support.run_unittest(HashLibTestCase)


Variable Documentation

tuple test.test_hashlib.COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')

Definition at line 23 of file test_hashlib.py.

Definition at line 16 of file test_hashlib.py.