Module Import alias ImportFrom alias Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call NameLoad Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num keyword NameLoad Assign NameStore Str Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Assign NameStore Str Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Str Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num NameLoad Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Str Num Str Num ListLoad Str Str Str Str Str Str keyword BinOpMult Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A unittest test test_support N/A py N/A textwrap N/A N/A py compat textwrap N/A TextWrapper N/A textwrap TextWrapper N/A wrap N/A textwrap wrap N/A fill N/A textwrap fill N/A dedent N/A textwrap dedent BaseTestCase N/A N/A unittest TestCase N/A N/A Parent class with utility methods for textwrap tests. show N/A N/A self textin N/A N/A N/A N/A isinstance textin list N/A N/A result N/A N/A i N/A range N/A len textin N/A N/A N/A N/A result append N/A   %d: %r N/A i N/A textin N/A i N/A result N/A N/A join result N/A N/A N/A isinstance textin basestring N/A N/A result N/A   %s
 N/A repr textin N/A result N/A check N/A N/A self result expect N/A N/A N/A N/A N/A self assertEquals result expect N/A expected:
%s
but got:
%s N/A N/A N/A self show expect N/A N/A self show result N/A check_wrap N/A N/A self text width expect N/A kwargs N/A N/A result N/A wrap text width kwargs N/A N/A N/A self check result expect N/A check_split N/A N/A self text expect N/A N/A N/A result N/A N/A N/A self wrapper _split text N/A N/A N/A self assertEquals result expect N/A 
expected %r
but got  %r N/A expect result N/A N/A WrapTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self wrapper N/A TextWrapper width 45 N/A test_simple N/A N/A self N/A N/A N/A text Hello there, how are you this fine day?  I'm glad to hear it! N/A N/A N/A self check_wrap text 12 N/A Hello there, how are you this fine day?  I'm glad to hear it! N/A N/A N/A self check_wrap text 42 N/A Hello there, how are you this fine day? I'm glad to hear it! N/A N/A N/A self check_wrap text 80 N/A text N/A test_whitespace N/A N/A self N/A N/A N/A text This is a paragraph that already has
line breaks.  But some of its lines are much longer than the others,
so it needs to be wrapped.
Some lines are 	tabbed too.
What a mess!
 N/A expect N/A This is a paragraph that already has line breaks.  But some of its lines are much longer than the others, so it needs to be wrapped.  Some lines are  tabbed too.  What a mess! N/A wrapper N/A TextWrapper 45 fix_sentence_endings True N/A result N/A N/A wrapper wrap text N/A N/A N/A self check result expect N/A result N/A N/A wrapper fill text N/A N/A N/A self check result N/A N/A join expect N/A test_fix_sentence_endings N/A N/A self N/A N/A N/A wrapper N/A TextWrapper 60 fix_sentence_endings True N/A text A short line. Note the single space. N/A expect N/A A short line.  Note the single space. N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A text Well, Doctor? What do you think? N/A expect N/A Well, Doctor?  What do you think? N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A text Well, Doctor?
What do you think? N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A text I say, chaps! Anyone for "tennis?"
Hmmph! N/A expect N/A I say, chaps!  Anyone for "tennis?"  Hmmph! N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A N/A wrapper width 20 N/A expect N/A I say, chaps! Anyone for "tennis?" Hmmph! N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A text And she said, "Go to hell!"
Can you believe that? N/A expect N/A And she said, "Go to hell!"  Can you believe that? N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A N/A wrapper width 60 N/A expect N/A And she said, "Go to hell!"  Can you believe that? N/A N/A N/A self check N/A N/A wrapper wrap text expect N/A test_wrap_short N/A N/A self N/A N/A N/A text This is a
short paragraph. N/A N/A N/A self check_wrap text 20 N/A This is a short paragraph. N/A N/A N/A self check_wrap text 40 N/A This is a short paragraph. N/A test_wrap_short_1line N/A N/A self N/A N/A N/A text This is a short line. N/A N/A N/A self check_wrap text 30 N/A This is a short line. N/A N/A N/A self check_wrap text 30 N/A (1) This is a short line. initial_indent (1)  N/A test_hyphenated N/A N/A self N/A N/A N/A text this-is-a-useful-feature-for-reformatting-posts-from-tim-peters'ly N/A N/A N/A self check_wrap text 40 N/A this-is-a-useful-feature-for- reformatting-posts-from-tim-peters'ly N/A N/A N/A self check_wrap text 41 N/A this-is-a-useful-feature-for- reformatting-posts-from-tim-peters'ly N/A N/A N/A self check_wrap text 42 N/A this-is-a-useful-feature-for-reformatting- posts-from-tim-peters'ly N/A test_hyphenated_numbers N/A N/A self N/A N/A N/A text Python 1.0.0 was released on 1994-01-26.  Python 1.0.1 was
released on 1994-02-15. N/A N/A N/A self check_wrap text 30 N/A Python 1.0.0 was released on 1994-01-26.  Python 1.0.1 was released on 1994-02-15. N/A N/A N/A self check_wrap text 40 N/A Python 1.0.0 was released on 1994-01-26. Python 1.0.1 was released on 1994-02-15. N/A text I do all my shopping at 7-11. N/A N/A N/A self check_wrap text 25 N/A I do all my shopping at 7-11. N/A N/A N/A self check_wrap text 27 N/A I do all my shopping at 7-11. N/A N/A N/A self check_wrap text 29 N/A I do all my shopping at 7-11. N/A test_em_dash N/A N/A self N/A N/A N/A text Em-dashes should be written -- thus. N/A N/A N/A self check_wrap text 25 N/A Em-dashes should be written -- thus. N/A N/A N/A self check_wrap text 29 N/A Em-dashes should be written -- thus. N/A expect N/A Em-dashes should be written -- thus. N/A N/A N/A self check_wrap text 30 expect N/A N/A N/A self check_wrap text 35 expect N/A N/A N/A self check_wrap text 36 N/A Em-dashes should be written -- thus. N/A text You can also do--this or even---this. N/A expect N/A You can also do --this or even ---this. N/A N/A N/A self check_wrap text 15 expect N/A N/A N/A self check_wrap text 16 expect N/A expect N/A You can also do-- this or even--- this. N/A N/A N/A self check_wrap text 17 expect N/A N/A N/A self check_wrap text 19 expect N/A expect N/A You can also do--this or even ---this. N/A N/A N/A self check_wrap text 29 expect N/A N/A N/A self check_wrap text 31 expect N/A expect N/A You can also do--this or even--- this. N/A N/A N/A self check_wrap text 32 expect N/A N/A N/A self check_wrap text 35 expect N/A text Here's an -- em-dash and--here's another---and another! N/A expect N/A Here's an -- em- dash and -- here's another --- and another! N/A N/A N/A self check_split text expect N/A text and then--bam!--he was gone N/A expect N/A and then -- bam! -- he was gone N/A N/A N/A self check_split text expect N/A test_unix_options N/A N/A self N/A N/A N/A text You should use the -n option, or --dry-run in its long form. N/A N/A N/A self check_wrap text 20 N/A You should use the -n option, or --dry- run in its long form. N/A N/A N/A self check_wrap text 21 N/A You should use the -n option, or --dry-run in its long form. N/A expect N/A You should use the -n option, or --dry-run in its long form. N/A N/A N/A self check_wrap text 32 expect N/A N/A N/A self check_wrap text 34 expect N/A N/A N/A self check_wrap text 35 expect N/A N/A N/A self check_wrap text 38 expect N/A expect N/A You should use the -n option, or --dry- run in its long form. N/A N/A N/A self check_wrap text 39 expect N/A N/A N/A self check_wrap text 41 expect N/A expect N/A You should use the -n option, or --dry-run in its long form. N/A N/A N/A self check_wrap text 42 expect N/A text the -n option, or --dry-run or --dryrun N/A expect N/A the -n option, or --dry- run or --dryrun N/A N/A N/A self check_split text expect N/A test_funky_hyphens N/A N/A self N/A N/A N/A N/A N/A self check_split what the--hey! N/A what the -- hey! N/A N/A N/A self check_split what the-- N/A what the-- N/A N/A N/A self check_split what the--. N/A what the--. N/A N/A N/A self check_split --text--. N/A --text--. N/A N/A N/A self check_split --option N/A --option N/A N/A N/A self check_split --option-opt N/A --option- opt N/A N/A N/A self check_split foo --option-opt bar N/A foo --option- opt bar N/A test_punct_hyphens N/A N/A self N/A N/A N/A N/A N/A self check_split the 'wibble-wobble' widget N/A the 'wibble- wobble' widget N/A N/A N/A self check_split the "wibble-wobble" widget N/A the "wibble- wobble" widget N/A N/A N/A self check_split the (wibble-wobble) widget N/A the (wibble- wobble) widget N/A N/A N/A self check_split the ['wibble-wobble'] widget N/A the ['wibble- wobble'] widget N/A test_funky_parens N/A N/A self N/A N/A N/A N/A N/A self check_split foo (--option) bar N/A foo (--option) bar N/A N/A N/A self check_split foo (bar) baz N/A foo (bar) baz N/A N/A N/A self check_split blah (ding dong), wubba N/A blah (ding dong), wubba N/A test_initial_whitespace N/A N/A self N/A N/A N/A text  This is a sentence with leading whitespace. N/A N/A N/A self check_wrap text 50 N/A  This is a sentence with leading whitespace. N/A N/A N/A self check_wrap text 30 N/A  This is a sentence with leading whitespace. N/A test_unicode N/A N/A self N/A N/A N/A text Hello there, how are you today? N/A N/A N/A self check_wrap text 50 N/A Hello there, how are you today? N/A N/A N/A self check_wrap text 20 N/A Hello there, how are you today? N/A olines N/A N/A N/A self wrapper wrap text N/A N/A N/A isinstance olines list N/A isinstance N/A olines N/A 0 unicode N/A otext N/A N/A N/A self wrapper fill text N/A N/A isinstance otext unicode N/A test_split N/A N/A self N/A N/A N/A text Hello there -- you goof-ball, use the -b option! N/A result N/A N/A N/A self wrapper _split text N/A N/A N/A self check result N/A Hello there -- you goof- ball, use the -b option! N/A test_bad_width N/A N/A self N/A N/A N/A text Whatever, it doesn't matter. N/A N/A N/A self assertRaises ValueError wrap text 0 N/A N/A N/A self assertRaises ValueError wrap text -1 N/A N/A LongWordTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self wrapper N/A TextWrapper N/A N/A self text Did you say "supercalifragilisticexpialidocious?"
How *do* you spell that odd word, anyways?
 N/A test_break_long N/A N/A self N/A N/A N/A N/A N/A self check_wrap N/A self text 30 N/A Did you say "supercalifragilis ticexpialidocious?" How *do* you spell that odd word, anyways? N/A N/A N/A self check_wrap N/A self text 50 N/A Did you say "supercalifragilisticexpialidocious?" How *do* you spell that odd word, anyways? N/A N/A N/A self check_wrap N/A N/A - 10 hello 10 N/A ----------                h                e                l                l                o subsequent_indent N/A 15 N/A test_nobreak_long N/A N/A self N/A N/A N/A N/A N/A self wrapper break_long_words 0 N/A N/A N/A self wrapper width 30 N/A expect N/A Did you say "supercalifragilisticexpialidocious?" How *do* you spell that odd word, anyways? N/A result N/A N/A N/A self wrapper wrap N/A self text N/A N/A N/A self check result expect N/A result N/A wrap N/A self text width 30 break_long_words 0 N/A N/A N/A self check result expect N/A N/A IndentTestCases N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self text This paragraph will be filled, first without any indentation,
and then with some (including a hanging indent). N/A test_fill N/A N/A self N/A N/A N/A expect This paragraph will be filled, first
without any indentation, and then with
some (including a hanging indent). N/A result N/A fill N/A self text 40 N/A N/A N/A self check result expect N/A test_initial_indent N/A N/A self N/A N/A N/A expect N/A      This paragraph will be filled, first without any indentation, and then with some (including a hanging indent). N/A result N/A wrap N/A self text 40 initial_indent N/A N/A N/A self check result expect N/A expect N/A N/A join expect N/A result N/A fill N/A self text 40 initial_indent N/A N/A N/A self check result expect N/A test_subsequent_indent N/A N/A self N/A N/A N/A expect   * This paragraph will be filled, first
    without any indentation, and then
    with some (including a hanging
    indent). N/A result N/A fill N/A self text 40 initial_indent   *  subsequent_indent N/A N/A N/A self check result expect N/A N/A DedentTestCase N/A N/A unittest TestCase N/A test_dedent_nomargin N/A N/A self N/A N/A N/A text Hello there.
How are you?
Oh good, I'm glad. N/A N/A N/A self assertEquals N/A dedent text text N/A text Hello there.

Boo! N/A N/A N/A self assertEquals N/A dedent text text N/A text Hello there.
  This is indented. N/A N/A N/A self assertEquals N/A dedent text text N/A text Hello there.

  Boo!
 N/A N/A N/A self assertEquals N/A dedent text text N/A test_dedent_even N/A N/A self N/A N/A N/A text   Hello there.
  How are ya?
  Oh good. N/A expect Hello there.
How are ya?
Oh good. N/A N/A N/A self assertEquals N/A dedent text expect N/A text   Hello there.

  How are ya?
  Oh good.
 N/A expect Hello there.

How are ya?
Oh good.
 N/A N/A N/A self assertEquals N/A dedent text expect N/A text   Hello there.
  
  How are ya?
  Oh good.
 N/A expect Hello there.

How are ya?
Oh good.
 N/A N/A N/A self assertEquals N/A dedent text expect N/A test_dedent_uneven N/A N/A self N/A N/A N/A text         def foo():
            while 1:
                return foo
         N/A expect def foo():
    while 1:
        return foo
 N/A N/A N/A self assertEquals N/A dedent text expect N/A text   Foo
    Bar

   Baz
 N/A expect Foo
  Bar

 Baz
 N/A N/A N/A self assertEquals N/A dedent text expect N/A text   Foo
    Bar
 
   Baz
 N/A expect Foo
  Bar

 Baz
 N/A N/A N/A self assertEquals N/A dedent text expect N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest WrapTestCase LongWordTestCase IndentTestCases DedentTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A test_main