Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/test/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/test/__pycache__/test_textwrap.cpython-33.pyc

�
��fWwc@s�ddlZddlmZddlmZmZmZmZmZGdd�dej	�Z
Gdd�de
�ZGdd	�d	e
�ZGd
d�de
�Z
Gdd
�d
ej	�ZGdd�dej	�Zdd�Zedkr�e�ndS(iN(usupport(uTextWrapperuwrapufilludedentuindentcBsJ|EeZdZdZdd�Zdd�Zdd�Zdd	�Zd
S(uBaseTestCaseu5Parent class with utility methods for textwrap tests.cCs�t|t�rkg}x5tt|��D]!}|jd|||f�q(W|rbdj|�nd}n"t|t�r�dt|�}n|S(Nu  %d: %ru
u
  no linesu  %s
(u
isinstanceulisturangeulenuappendujoinustrurepr(uselfutextinuresultui((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyushowsuBaseTestCase.showcCs3|j||d|j|�|j|�f�dS(Nuexpected:
%s
but got:
%s(uassertEqualushow(uselfuresultuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuchecksuBaseTestCase.checkcKs&t|||�}|j||�dS(N(uwrapucheck(uselfutextuwidthuexpectukwargsuresult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu
check_wrap$suBaseTestCase.check_wrapcCs3|jj|�}|j||d||f�dS(Nu
expected %r
but got  %r(uwrapperu_splituassertEqual(uselfutextuexpecturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyucheck_split(suBaseTestCase.check_splitN(u__name__u
__module__u__qualname__u__doc__ushowuchecku
check_wrapucheck_split(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuBaseTestCases
uBaseTestCasecBsd|EeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Zd9S(:uWrapTestCasecCstdd�|_dS(Nuwidthi-(uTextWrapperuwrapper(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyusetUp1suWrapTestCase.setUpc	Cs^d}|j|dddddddg�|j|d	d
dg�|j|d|g�dS(
Nu=Hello there, how are you this fine day?  I'm glad to hear it!iuHello there,uhow are youu	this fineu	day?  I'muglad to hearuit!i*u'Hello there, how are you this fine day?uI'm glad to hear it!iP(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_simple4s

uWrapTestCase.test_simplecCs0|jddg�|jddgdd�dS(Nuiudrop_whitespaceF(u
check_wrapuFalse(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_empty_stringEsuWrapTestCase.test_empty_stringcCs<|jddgdd�|jddgdddd�dS(Nuiuinitial_indentu++udrop_whitespaceF(u
check_wrapuFalse(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu%test_empty_string_with_initial_indentJsu2WrapTestCase.test_empty_string_with_initial_indentcCs�d}dddddg}tddd�}|j|�}|j||�|j|�}|j|d	j|��d
}dg}|j|d|�d
}dg}|j|d|dd�dS(Nu�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!
u)This is a paragraph that already has lineu'breaks.  But some of its lines are muchu)longer than the others, so it needs to beu-wrapped.  Some lines are  tabbed too.  What aumess!i-ufix_sentence_endingsu
u	Test	default		tabsize.u(        Test    default         tabsize.iPu	Test	custom		tabsize.u     Test    custom      tabsize.utabsizeiT(uTextWrapperuTrueuwrapucheckufillujoinu
check_wrap(uselfutextuexpectuwrapperuresult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_whitespaceOs"				uWrapTestCase.test_whitespacecCs_tddd�}d}dg}|j|j|�|�d}dg}|j|j|�|�d}|j|j|�|�d}d	g}|j|j|�|�d
|_ddd
g}|j|j|�|�d}dddg}|j|j|�|�d|_dg}|j|j|�|�d}dg}|j|j|�|�dS(Ni<ufix_sentence_endingsu$A short line. Note the single space.u%A short line.  Note the single space.u Well, Doctor? What do you think?u!Well, Doctor?  What do you think?u Well, Doctor?
What do you think?u)I say, chaps! Anyone for "tennis?"
Hmmph!u+I say, chaps!  Anyone for "tennis?"  Hmmph!iu
I say, chaps!uAnyone for "tennis?"uHmmph!u1And she said, "Go to hell!"
Can you believe that?uAnd she said, "Go touhell!"  Can youu
believe that?u2And she said, "Go to hell!"  Can you believe that?uFile stdio.h is nice.T(uTextWrapperuTrueucheckuwrapuwidth(uselfuwrapperutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_fix_sentence_endingsos4								u&WrapTestCase.test_fix_sentence_endingscCs9d}|j|dddg�|j|ddg�dS(NuThis is a
short paragraph.iuThis is a shortu
paragraph.i(uThis is a short paragraph.(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_wrap_short�s
uWrapTestCase.test_wrap_shortcCs<d}|j|ddg�|j|ddgdd�dS(NuThis is a short line.iu(1) This is a short line.uinitial_indentu(1) (u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_wrap_short_1line�su"WrapTestCase.test_wrap_short_1linecCsUd}|j|dddg�|j|dddg�|j|dddg�dS(	NuBthis-is-a-useful-feature-for-reformatting-posts-from-tim-peters'lyi(uthis-is-a-useful-feature-for-u%reformatting-posts-from-tim-peters'lyi)i*u*this-is-a-useful-feature-for-reformatting-uposts-from-tim-peters'ly(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_hyphenated�s

uWrapTestCase.test_hyphenatedcCs�d}|j|ddddg�|j|dddg�d	}|j|d
ddg�|j|d
ddg�|j|dd	g�dS(NuRPython 1.0.0 was released on 1994-01-26.  Python 1.0.1 was
released on 1994-02-15.iuPython 1.0.0 was released onu1994-01-26.  Python 1.0.1 wasureleased on 1994-02-15.i(u(Python 1.0.0 was released on 1994-01-26.u(Python 1.0.1 was released on 1994-02-15.uI do all my shopping at 7-11.iuI do all my shopping atu7-11.ii(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_hyphenated_numbers�s



u$WrapTestCase.test_hyphenated_numberscCs�d}|j|dddg�|j|dddg�dd	g}|j|d
|�|j|d|�|j|ddg�d
}dddg}|j|d|�|j|d|�dddg}|j|d|�|j|d|�ddg}|j|d|�|j|d|�ddg}|j|d|�|j|d|�d}ddddd dd!d"dd#d d$dd%d&d#dd'g}|j||�d(}d#dd)d d*d d+dd,dd-g}|j||�dS(.Nu$Em-dashes should be written -- thus.iuEm-dashes should beuwritten -- thus.iuEm-dashes should be writtenu-- thus.uEm-dashes should be written --uthus.ii#i$u%You can also do--this or even---this.uYou can also dou--this or evenu---this.iiuYou can also do--uthis or even---uthis.iiuYou can also do--this or eveniu You can also do--this or even---i u7Here's an -- em-dash and--here's another---and another!uHere'su uanu--uem-udashuanduhere'suanotheru---uanother!uand then--bam!--he was goneuthenubam!uheuwasugone(u
check_wrapucheck_split(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_em_dash�sR

	
				uWrapTestCase.test_em_dashcCs4d}|j|dddddg�|j|ddd	d
g�ddg}|j|d
|�|j|d|�|j|d|�|j|d|�ddg}|j|d|�|j|d|�dd
g}|j|d|�d}ddddddddddddddg}|j||�dS( Nu<You should use the -n option, or --dry-run in its long form.iuYou should use theu-n option, or --dry-urun in its longuform.iuYou should use the -nuoption, or --dry-runuin its long form.u You should use the -n option, oru--dry-run in its long form.i i"i#i&u'You should use the -n option, or --dry-urun in its long form.i'i)u*You should use the -n option, or --dry-runi*u'the -n option, or --dry-run or --dryrunutheu u-nuoption,uoru--dry-urunu--dryrun(u
check_wrapucheck_split(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_unix_optionss6

			uWrapTestCase.test_unix_optionscCs�|jddddddg�|jddddg�|jd	ddd
g�|jddg�|jddg�|jd
ddg�|jdddddddg�dS(Nuwhat the--hey!uwhatu utheu--uhey!u
what the--uthe--uwhat the--.uthe--.u	--text--.u--optionu--option-optu	--option-uoptufoo --option-opt barufooubar(ucheck_split(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_funky_hyphens(s	uWrapTestCase.test_funky_hyphenscCs�|jdddddddg�|jddddd	ddg�|jd
ddddddg�|jd
ddddddg�dS(Nuthe 'wibble-wobble' widgetutheu u'wibble-uwobble'uwidgetuthe "wibble-wobble" widgetu"wibble-uwobble"uthe (wibble-wobble) widgetu(wibble-uwobble)uthe ['wibble-wobble'] widgetu	['wibble-uwobble'](ucheck_split(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_punct_hyphens9s				uWrapTestCase.test_punct_hyphensc	Csg|jddddddg�|jddddddg�|jd	d
dddddd
g�dS(Nufoo (--option) barufoou u
(--option)ubaru
foo (bar) bazu(bar)ubazublah (ding dong), wubbaublahu(dingudong),uwubba(ucheck_split(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_funky_parensJs			uWrapTestCase.test_funky_parensc	Cs5d}|j|dddddddgd	d
�dS(Nu0 This is a    sentence with     much whitespace.i
u
 This is au    u	sentence u	with     u
much whiteuspace.udrop_whitespaceF(u
check_wrapuFalse(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_drop_whitespace_falseWs
	u'WrapTestCase.test_drop_whitespace_falsecCs |jdddgdd�dS(Nu   iudrop_whitespaceF(u
check_wrapuFalse(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu*test_drop_whitespace_false_whitespace_only`su7WrapTestCase.test_drop_whitespace_false_whitespace_onlycCs&|jdddgdddd�dS(Nu   iu     udrop_whitespaceuinitial_indentu  F(u
check_wrapuFalse(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu6test_drop_whitespace_false_whitespace_only_with_indentdsuCWrapTestCase.test_drop_whitespace_false_whitespace_only_with_indentcCs|jddg�dS(Nu  i(u
check_wrap(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu$test_drop_whitespace_whitespace_onlyjsu1WrapTestCase.test_drop_whitespace_whitespace_onlycCs9d}|j|ddg�|j|dddg�dS(Nu, This is a sentence with leading whitespace.i2iu This is a sentence withuleading whitespace.(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu'test_drop_whitespace_leading_whitespacens

u4WrapTestCase.test_drop_whitespace_leading_whitespacecCsEd}|j|ddddgdd�|j|dddg�dS(Nuabcd    efghiuabcdu    uefghudrop_whitespaceF(u
check_wrapuFalse(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu$test_drop_whitespace_whitespace_lineysu1WrapTestCase.test_drop_whitespace_whitespace_linecCs|jddgdd�dS(Nu  iuinitial_indentu++(u
check_wrap(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu0test_drop_whitespace_whitespace_only_with_indent�su=WrapTestCase.test_drop_whitespace_whitespace_only_with_indentcCs)|jddddgdddd�dS(Nu	abcd efghiu  abcdu  efghuinitial_indentu  usubsequent_indent(u
check_wrap(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu&test_drop_whitespace_whitespace_indent�su3WrapTestCase.test_drop_whitespace_whitespace_indentcCsbd}|jj|�}|j|dddddddddddd	dd
ddddg�dS(
Nu0Hello there -- you goof-ball, use the -b option!uHellou uthereu--uyouugoof-uball,uuseutheu-buoption!(uwrapperu_splitucheck(uselfutexturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu
test_split�s
	uWrapTestCase.test_splitcCsHd}|j|dddgdd�|j|dddgdd	�dS(
Nu
yaba daba-dooi
u
yaba daba-udooubreak_on_hyphensuyabaudaba-dooTF(u
check_wrapuTrueuFalse(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_break_on_hyphens�s
u"WrapTestCase.test_break_on_hyphenscCs6d}|jtt|d�|jtt|d�dS(NuWhatever, it doesn't matter.iii����(uassertRaisesu
ValueErroruwrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_bad_width�suWrapTestCase.test_bad_widthcCs&d}|j|ddddg�dS(NuDie Empfänger-Auswahli
uDieuEmpfänger-uAuswahl(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_no_split_at_umlaut�su$WrapTestCase.test_no_split_at_umlautcCs#d}|j|dddg�dS(Nuaa ää-ääiuaa ää-uää(u
check_wrap(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_umlaut_followed_by_dash�su)WrapTestCase.test_umlaut_followed_by_dashN(u__name__u
__module__u__qualname__usetUputest_simpleutest_empty_stringu%test_empty_string_with_initial_indentutest_whitespaceutest_fix_sentence_endingsutest_wrap_shortutest_wrap_short_1lineutest_hyphenatedutest_hyphenated_numbersutest_em_dashutest_unix_optionsutest_funky_hyphensutest_punct_hyphensutest_funky_parensutest_drop_whitespace_falseu*test_drop_whitespace_false_whitespace_onlyu6test_drop_whitespace_false_whitespace_only_with_indentu$test_drop_whitespace_whitespace_onlyu'test_drop_whitespace_leading_whitespaceu$test_drop_whitespace_whitespace_lineu0test_drop_whitespace_whitespace_only_with_indentu&test_drop_whitespace_whitespace_indentu
test_splitutest_break_on_hyphensutest_bad_widthutest_no_split_at_umlaututest_umlaut_followed_by_dash(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuWrapTestCase/s8 *

7"
		uWrapTestCasecBs8|EeZdZdd�Zdd�Zdd�ZdS(uLongWordTestCasecCst�|_d|_dS(Nu]Did you say "supercalifragilisticexpialidocious?"
How *do* you spell that odd word, anyways?
(uTextWrapperuwrapperutext(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyusetUp�suLongWordTestCase.setUpcCs�|j|jdddddg�|j|jdddg�|jdd
dd
ddddgdd�|j|jddddddddddg	�dS( NiuDid you say "supercalifragilisuticexpialidocious?" How *do*uyou spell that odd word,uanyways?i2u1Did you say "supercalifragilisticexpialidocious?"u*How *do* you spell that odd word, anyways?u-i
uhellou
----------u               hu               eu               lu               ousubsequent_indentu iiuDid you say u"supercalifruagilisticexpuialidocious?u
" How *do*u	you spelluthat odduword,u
----------u----------hellou               (u
check_wraputext(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_break_long�s4

	u LongWordTestCase.test_break_longcCs~d|j_d|j_ddddg}|jj|j�}|j||�t|jdddd�}|j||�dS(	NiiuDid you sayu%"supercalifragilisticexpialidocious?"uHow *do* you spell that odduword, anyways?uwidthubreak_long_words(uwrapperubreak_long_wordsuwidthuwraputextucheck(uselfuexpecturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_nobreak_long�s	u"LongWordTestCase.test_nobreak_longN(u__name__u
__module__u__qualname__usetUputest_break_longutest_nobreak_long(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuLongWordTestCase�s$uLongWordTestCasecBsD|EeZdZdd�Zdd�Zdd�Zdd�Zd	S(
uIndentTestCasescCs
d|_dS(NunThis paragraph will be filled, first without any indentation,
and then with some (including a hanging indent).(utext(uself((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyusetUp�suIndentTestCases.setUpcCs,d}t|jd�}|j||�dS(NunThis paragraph will be filled, first
without any indentation, and then with
some (including a hanging indent).i((ufillutextucheck(uselfuexpecturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu	test_fill�suIndentTestCases.test_fillcCsrdddg}t|jddd�}|j||�dj|�}t|jddd�}|j||�dS(Nu#     This paragraph will be filled,u'first without any indentation, and thenu'with some (including a hanging indent).i(uinitial_indentu     u
(uwraputextucheckujoinufill(uselfuexpecturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_initial_indents	u#IndentTestCases.test_initial_indentcCs8d}t|jddddd�}|j||�dS(Nu~  * This paragraph will be filled, first
    without any indentation, and then
    with some (including a hanging
    indent).i(uinitial_indentu  * usubsequent_indentu    (ufillutextucheck(uselfuexpecturesult((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_subsequent_indentsu&IndentTestCases.test_subsequent_indentN(u__name__u
__module__u__qualname__usetUpu	test_fillutest_initial_indentutest_subsequent_indent(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuIndentTestCases�suIndentTestCasescBs\|EeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S(uDedentTestCasecCs|j|t|��dS(u,assert that dedent() has no effect on 'text'N(uassertEqualudedent(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuassertUnchanged#suDedentTestCase.assertUnchangedcCsPd}|j|�d}|j|�d}|j|�d}|j|�dS(Nu,Hello there.
How are you?
Oh good, I'm glad.uHello there.

Boo!u Hello there.
  This is indented.uHello there.

  Boo!
(uassertUnchanged(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_dedent_nomargin's


u#DedentTestCase.test_dedent_nomargincCsjd}d}|j|t|��d}d}|j|t|��d}d}|j|t|��dS(Nu'  Hello there.
  How are ya?
  Oh good.u!Hello there.
How are ya?
Oh good.u)  Hello there.

  How are ya?
  Oh good.
u#Hello there.

How are ya?
Oh good.
u+  Hello there.
  
  How are ya?
  Oh good.
(uassertEqualudedent(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_dedent_even8suDedentTestCase.test_dedent_evencCsjd}d}|j|t|��d}d}|j|t|��d}d}|j|t|��dS(NuK        def foo():
            while 1:
                return foo
        u+def foo():
    while 1:
        return foo
u  Foo
    Bar

   Baz
uFoo
  Bar

 Baz
u  Foo
    Bar
 
   Baz
(uassertEqualudedent(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_dedent_unevenHsu!DedentTestCase.test_dedent_unevencCs<d}d}|j|t|��|j|t|��dS(Nu  hello	there
  how are	you?uhello	there
how are	you?(uassertEqualudedent(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu"test_dedent_preserve_internal_tabsasu1DedentTestCase.test_dedent_preserve_internal_tabscCs�d}|j|�d}|j|�d}d}|j|t|��d}|j|t|��d}|j|t|��d}d}|j|t|��dS(	Nu  hello there
	how are you?u!        hello there
	how are you?u	hello there
	how are you?uhello there
how are you?u  	hello there
  	how are you?u"  	  hello there
  	  how are you?u   	hello there
  	  how are you?uhello there
  how are you?(uassertUnchangeduassertEqualudedent(uselfutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu test_dedent_preserve_margin_tabsms

u/DedentTestCase.test_dedent_preserve_margin_tabsN(	u__name__u
__module__u__qualname__uassertUnchangedutest_dedent_nomarginutest_dedent_evenutest_dedent_unevenu"test_dedent_preserve_internal_tabsu test_dedent_preserve_margin_tabs(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuDedentTestCase!suDedentTestCasecBs�|EeZdZdZedZdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�ZdS(uIndentTestCaseuHi.
This is a test.
Testing.uHi.
This is a test.

Testing.u
Hi.
This is a test.
Testing.
u Hi.
This is a test.
Testing.
u#
Hi.
This is a test.

Testing.

cCs1x*|jD]}|jt|d�|�q
WdS(Nu(uCASESuassertEqualuindent(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_nomargin_default�su+IndentTestCase.test_indent_nomargin_defaultcCs4x-|jD]"}|jt|dd�|�q
WdS(Nu(uCASESuassertEqualuindentuNone(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu%test_indent_nomargin_explicit_default�su4IndentTestCase.test_indent_nomargin_explicit_defaultcCs@dd�}x-|jD]"}|jt|d|�|�qWdS(NcSsdS(NT(uTrue(uline((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu<lambda>�su?IndentTestCase.test_indent_nomargin_all_lines.<locals>.<lambda>u(uCASESuassertEqualuindent(uselfu	predicateutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_nomargin_all_lines�su-IndentTestCase.test_indent_nomargin_all_linescCs@dd�}x-|jD]"}|jt|d|�|�qWdS(NcSsdS(NF(uFalse(uline((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu<lambda>�su5IndentTestCase.test_indent_no_lines.<locals>.<lambda>u    (uCASESuassertEqualuindent(uselfu	predicateutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_no_lines�su#IndentTestCase.test_indent_no_linescCs7x0|jD]%}|jtt|d��|�q
WdS(Nu    (uROUNDTRIP_CASESuassertEqualudedentuindent(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_roundtrip_spaces�su$IndentTestCase.test_roundtrip_spacescCs7x0|jD]%}|jtt|d��|�q
WdS(Nu		(uROUNDTRIP_CASESuassertEqualudedentuindent(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_roundtrip_tabs�su"IndentTestCase.test_roundtrip_tabscCs7x0|jD]%}|jtt|d��|�q
WdS(Nu 	  	 (uROUNDTRIP_CASESuassertEqualudedentuindent(uselfutext((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_roundtrip_mixed�su#IndentTestCase.test_roundtrip_mixedcCsLd}d}x9t|j|�D]%\}}|jt||�|�qWdS(Nu  u"  Hi.
  This is a test.
  Testing.u#  Hi.
  This is a test.

  Testing.u$
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u)
  Hi.
  This is a test.

  Testing.

(u"  Hi.
  This is a test.
  Testing.u#  Hi.
  This is a test.

  Testing.u$
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u)
  Hi.
  This is a test.

  Testing.

(uzipuCASESuassertEqualuindent(uselfuprefixuexpectedutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_default�su"IndentTestCase.test_indent_defaultcCsOd}d}x<t|j|�D](\}}|jt||d�|�qWdS(Nu  u"  Hi.
  This is a test.
  Testing.u#  Hi.
  This is a test.

  Testing.u$
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u)
  Hi.
  This is a test.

  Testing.

(u"  Hi.
  This is a test.
  Testing.u#  Hi.
  This is a test.

  Testing.u$
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u)
  Hi.
  This is a test.

  Testing.

(uzipuCASESuassertEqualuindentuNone(uselfuprefixuexpectedutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_explicit_default�su+IndentTestCase.test_indent_explicit_defaultcCs[d}d	}dd�}x<t|j|�D](\}}|jt|||�|�q+WdS(
Nu  u"  Hi.
  This is a test.
  Testing.u%  Hi.
  This is a test.
  
  Testing.u&  
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u/  
  Hi.
  This is a test.
  
  Testing.
  
cSsdS(NT(uTrue(uline((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu<lambda>�su6IndentTestCase.test_indent_all_lines.<locals>.<lambda>(u"  Hi.
  This is a test.
  Testing.u%  Hi.
  This is a test.
  
  Testing.u&  
  Hi.
  This is a test.
  Testing.
u&  Hi.
  This is a test.
  Testing.
u/  
  Hi.
  This is a test.
  
  Testing.
  
(uzipuCASESuassertEqualuindent(uselfuprefixuexpectedu	predicateutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_all_lines�su$IndentTestCase.test_indent_all_linescCs[d}d	}dd�}x<t|j|�D](\}}|jt|||�|�q+WdS(
Nu  uHi.
This is a test.
Testing.uHi.
This is a test.
  
Testing.u   
Hi.
This is a test.
Testing.
u Hi.
This is a test.
Testing.
u)  
Hi.
This is a test.
  
Testing.
  
cSs|j�S(N(ustrip(uline((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu<lambda>su8IndentTestCase.test_indent_empty_lines.<locals>.<lambda>(uHi.
This is a test.
Testing.uHi.
This is a test.
  
Testing.u   
Hi.
This is a test.
Testing.
u Hi.
This is a test.
Testing.
u)  
Hi.
This is a test.
  
Testing.
  
(uzipuCASESuassertEqualuindent(uselfuprefixuexpectedu	predicateutextuexpect((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyutest_indent_empty_lines�su&IndentTestCase.test_indent_empty_linesN(uHi.
This is a test.
Testing.uHi.
This is a test.

Testing.u
Hi.
This is a test.
Testing.
(u Hi.
This is a test.
Testing.
u#
Hi.
This is a test.

Testing.

(u__name__u
__module__u__qualname__uROUNDTRIP_CASESuCASESutest_indent_nomargin_defaultu%test_indent_nomargin_explicit_defaultutest_indent_nomargin_all_linesutest_indent_no_linesutest_roundtrip_spacesutest_roundtrip_tabsutest_roundtrip_mixedutest_indent_defaultutest_indent_explicit_defaultutest_indent_all_linesutest_indent_empty_lines(u
__locals__((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyuIndentTestCase�s"uIndentTestCasecCstjttttt�dS(N(usupporturun_unittestuWrapTestCaseuLongWordTestCaseuIndentTestCasesuDedentTestCaseuIndentTestCase(((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu	test_mains
	u	test_mainu__main__(uunittestutestusupportutextwrapuTextWrapperuwrapufilludedentuindentuTestCaseuBaseTestCaseuWrapTestCaseuLongWordTestCaseuIndentTestCasesuDedentTestCaseuIndentTestCaseu	test_mainu__name__(((u7/opt/alt/python33/lib64/python3.3/test/test_textwrap.pyu<module>s(��=3e�