Back to index

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

Classes

class  C
class  Callable
class  TestBase
class  ReferencesTestCase
class  SubclassableWeakrefTestCase
class  Object
class  MappingTestCase
class  WeakValueDictionaryTestCase
class  WeakKeyDictionaryTestCase

Functions

def create_function
def create_bound_method
def test_main

Variables

 ref_from_del = None
string libreftest
dictionary __test__ = {'libreftest' : libreftest}

Function Documentation

Definition at line 31 of file test_weakref.py.

00031 
00032 def create_bound_method():
00033     return C().method
00034 

Definition at line 27 of file test_weakref.py.

00027 
00028 def create_function():
00029     def f(): pass
00030     return f

Definition at line 1332 of file test_weakref.py.

01332 
01333 def test_main():
01334     support.run_unittest(
01335         ReferencesTestCase,
01336         MappingTestCase,
01337         WeakValueDictionaryTestCase,
01338         WeakKeyDictionaryTestCase,
01339         SubclassableWeakrefTestCase,
01340         )
01341     support.run_doctest(sys.modules[__name__])
01342 


Variable Documentation

Definition at line 1330 of file test_weakref.py.

Definition at line 1247 of file test_weakref.py.

Definition at line 13 of file test_weakref.py.