Back to index

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

Classes

class  LineCacheTests

Functions

def test_main

Variables

 FILENAME = linecache.__file__
string INVALID_NAME = '!@$)(!@#_1'
string EMPTY = ''
string TESTS = 'inspect_fodder inspect_fodder2 mapping_tests'
tuple TEST_PATH = os.path.dirname(support.__file__)
string MODULES = "linecache abc"
tuple MODULE_PATH = os.path.dirname(FILENAME)
string SOURCE_1
string SOURCE_2
string SOURCE_3

Detailed Description

Tests for the linecache module 

Function Documentation

Definition at line 129 of file test_linecache.py.

00129 
00130 def test_main():
00131     support.run_unittest(LineCacheTests)


Variable Documentation

Definition at line 11 of file test_linecache.py.

test.test_linecache.FILENAME = linecache.__file__

Definition at line 9 of file test_linecache.py.

Definition at line 10 of file test_linecache.py.

tuple test.test_linecache.MODULE_PATH = os.path.dirname(FILENAME)

Definition at line 16 of file test_linecache.py.

Definition at line 15 of file test_linecache.py.

Initial value:
00001 '''
00002 " Docstring "
00003 
00004 def function():
00005     return result
00006 
00007 '''

Definition at line 18 of file test_linecache.py.

Initial value:
00001 '''
00002 def f():
00003     return 1 + 1
00004 
00005 a = f()
00006 
00007 '''

Definition at line 26 of file test_linecache.py.

Initial value:
00001 '''
00002 def f():
00003     return 3'''

Definition at line 34 of file test_linecache.py.

tuple test.test_linecache.TEST_PATH = os.path.dirname(support.__file__)

Definition at line 14 of file test_linecache.py.

tuple test.test_linecache.TESTS = 'inspect_fodder inspect_fodder2 mapping_tests'

Definition at line 12 of file test_linecache.py.