Back to index

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

Classes

class  TestWithAscii
class  TestAutojunk
class  TestSFbugs
class  TestSFpatches
class  TestOutputFormat

Functions

def test_main

Variables

string patch914575_from1
string patch914575_to1
string patch914575_from2
string patch914575_to2
string patch914575_from3
string patch914575_to3

Function Documentation

Definition at line 281 of file test_difflib.py.

00281 
00282 def test_main():
00283     difflib.HtmlDiff._default_prefix = 0
00284     Doctests = doctest.DocTestSuite(difflib)
00285     run_unittest(
00286         TestWithAscii, TestAutojunk, TestSFpatches, TestSFbugs,
00287         TestOutputFormat, Doctests)

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 """
00002    1. Beautiful is beTTer than ugly.
00003    2. Explicit is better than implicit.
00004    3. Simple is better than complex.
00005    4. Complex is better than complicated.
00006 """

Definition at line 87 of file test_difflib.py.

Initial value:
00001 """
00002 \t\tLine 1: preceeded by from:[tt] to:[ssss]
00003   \t\tLine 2: preceeded by from:[sstt] to:[sssst]
00004   \t \tLine 3: preceeded by from:[sstst] to:[ssssss]
00005 Line 4:  \thas from:[sst] to:[sss] after :
00006 Line 5: has from:[t] to:[ss] at end\t
00007 """

Definition at line 101 of file test_difflib.py.

Initial value:
00001 """line 0
00002 1234567890123456789012345689012345
00003 line 1
00004 line 2
00005 line 3
00006 line 4   changed
00007 line 5   changed
00008 line 6   changed
00009 line 7
00010 line 8  subtracted
00011 line 9
00012 1234567890123456789012345689012345
00013 short line
00014 just fits in!!
00015 just fits in two lines yup!!
00016 the end"""

Definition at line 117 of file test_difflib.py.

Initial value:
00001 """
00002    1. Beautiful is better than ugly.
00003    3.   Simple is better than complex.
00004    4. Complicated is better than complex.
00005    5. Flat is better than nested.
00006 """

Definition at line 94 of file test_difflib.py.

Initial value:
00001 """
00002     Line 1: preceeded by from:[tt] to:[ssss]
00003     \tLine 2: preceeded by from:[sstt] to:[sssst]
00004       Line 3: preceeded by from:[sstst] to:[ssssss]
00005 Line 4:   has from:[sst] to:[sss] after :
00006 Line 5: has from:[t] to:[ss] at end
00007 """

Definition at line 109 of file test_difflib.py.

Initial value:
00001 """line 0
00002 1234567890123456789012345689012345
00003 line 1
00004 line 2    added
00005 line 3
00006 line 4   chanGEd
00007 line 5a  chanGed
00008 line 6a  changEd
00009 line 7
00010 line 8
00011 line 9
00012 1234567890
00013 another long line that needs to be wrapped
00014 just fitS in!!
00015 just fits in two lineS yup!!
00016 the end"""

Definition at line 134 of file test_difflib.py.