Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If UnaryOpNot CompareLtE Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{twisted.python.text}.
 cStringIO StringIO twisted.trial unittest twisted.python text N/A sampleText Every attempt to employ mathematical methods in the study of chemical
questions must be considered profoundly irrational and contrary to the
spirit of chemistry ...  If mathematical analysis should ever hold a
prominent place in chemistry - an aberration which is happily almost
impossible - it would occasion a rapid and widespread degeneration of that
science.

           --  Auguste Comte, Philosophie Positive, Paris, 1838
 WrapTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{text.greedyWrap}.
     setUp N/A N/A self N/A N/A N/A N/A self lineWidth 72 N/A N/A self sampleSplitText N/A N/A sampleText split N/A N/A self output N/A N/A text wordWrap sampleText N/A self lineWidth N/A test_wordCount N/A N/A self N/A N/A N/A 
        Compare the number of words.
         N/A words N/A N/A line N/A self output N/A N/A N/A N/A words extend N/A N/A line split N/A wordCount N/A len words N/A sampleTextWordCount N/A len N/A self sampleSplitText N/A N/A N/A self assertEqual wordCount sampleTextWordCount N/A test_wordMatch N/A N/A self N/A N/A N/A 
        Compare the lists of words.
         N/A words N/A N/A line N/A self output N/A N/A N/A N/A words extend N/A N/A line split N/A N/A N/A self failUnless N/A N/A self sampleSplitText words N/A test_lineLength N/A N/A self N/A N/A N/A 
        Check the length of the lines.
         N/A failures N/A N/A line N/A self output N/A N/A N/A N/A N/A len line N/A self lineWidth N/A N/A N/A N/A failures append N/A len line N/A failures N/A N/A N/A N/A self fail N/A %d of %d lines were too long.
%d < %s N/A N/A len failures N/A len N/A self output N/A self lineWidth failures N/A test_doubleNewline N/A N/A self N/A N/A N/A 
        Allow paragraphs delimited by two 
s.
         N/A sampleText et

phone
home. N/A result N/A N/A text wordWrap sampleText N/A self lineWidth N/A N/A N/A self assertEqual result N/A et phone home. N/A N/A LineTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{isMultiline} and L{endsInNewline}.
     test_isMultiline N/A N/A self N/A N/A N/A 
        L{text.isMultiline} returns C{True} if the string has a newline in it.
         N/A s This code
 "breaks." N/A m N/A N/A text isMultiline s N/A N/A N/A self assertTrue m N/A s This code does not "break." N/A m N/A N/A text isMultiline s N/A N/A N/A self assertFalse m N/A test_endsInNewline N/A N/A self N/A N/A N/A 
        L{text.endsInNewline} returns C{True} if the string ends in a newline.
         N/A s newline
 N/A m N/A N/A text endsInNewline s N/A N/A N/A self assertTrue m N/A s oldline N/A m N/A N/A text endsInNewline s N/A N/A N/A self assertFalse m N/A N/A StringyStringTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{text.stringyString}.
     test_tuple N/A N/A self N/A N/A N/A 
        Tuple elements are displayed on separate lines.
         N/A s N/A a b N/A m N/A N/A text stringyString s N/A N/A N/A self assertEqual m (a,
 b,)
 N/A test_dict N/A N/A self N/A N/A N/A 
        Dicts elements are displayed using C{str()}.
         N/A s N/A a 0 N/A m N/A N/A text stringyString s N/A N/A N/A self assertEqual m {a: 0} N/A test_list N/A N/A self N/A N/A N/A 
        List elements are displayed on separate lines using C{str()}.
         N/A s N/A a b N/A m N/A N/A text stringyString s N/A N/A N/A self assertEqual m [a,
 b,]
 N/A N/A SplitTest N/A N/A unittest TestCase N/A N/A 
    Tests for L{text.splitQuoted}.
     test_oneWord N/A N/A self N/A N/A N/A 
        Splitting strings with one-word phrases.
         N/A s This code "works." N/A r N/A N/A text splitQuoted s N/A N/A N/A self assertEqual N/A This code works. r N/A test_multiWord N/A N/A self N/A N/A N/A s The "hairy monkey" likes pie. N/A r N/A N/A text splitQuoted s N/A N/A N/A self assertEqual N/A The hairy monkey likes pie. r N/A N/A StrFileTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self io N/A StringIO this is a test string N/A tearDown N/A N/A self N/A N/A N/A N/A test_1_f N/A N/A self N/A N/A N/A N/A N/A self assertEqual False N/A N/A text strFile x N/A self io N/A test_1_1 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile t N/A self io N/A test_1_2 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile h N/A self io N/A test_1_3 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile i N/A self io N/A test_1_4 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile s N/A self io N/A test_1_5 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile n N/A self io N/A test_1_6 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile g N/A self io N/A test_3_1 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile thi N/A self io N/A test_3_2 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile his N/A self io N/A test_3_3 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile is  N/A self io N/A test_3_4 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile ing N/A self io N/A test_3_f N/A N/A self N/A N/A N/A N/A N/A self assertEqual False N/A N/A text strFile bla N/A self io N/A test_large_1 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile this is a test N/A self io N/A test_large_2 N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile is a test string N/A self io N/A test_large_f N/A N/A self N/A N/A N/A N/A N/A self assertEqual False N/A N/A text strFile ds jhfsa k fdas N/A self io N/A test_overlarge_f N/A N/A self N/A N/A N/A N/A N/A self assertEqual False N/A N/A text strFile djhsakj dhsa fkhsa s,mdbnfsauiw bndasdf hreew N/A self io N/A test_self N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile this is a test string N/A self io N/A test_insensitive N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A text strFile ThIs is A test STRING N/A self io False N/A N/A