Module Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam defaults kwarg body Import alias alias Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Assert CompareEq NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpAdd Str NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Num Slice Num attr If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Str body Assign NameStore BinOpMod Str NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Import alias Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Import alias If UnaryOpNot Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Print NameLoad Print NameLoad Assign NameStore Call NameLoad NameLoad TryExcept body For TupleStore NameStore NameStore NameStore NameStore NameLoad body Assert CompareEq NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad handlers ExceptHandler body Print NameLoad Raise decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign TupleStore NameStore NameStore TupleLoad NameLoad ListLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue TryFinally body Return Call NameLoad Call AttributeLoad Str attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return ListComp BinOpAdd NameLoad Str comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr Str body If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Continue Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr TryExcept body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num If CompareEq NameLoad Str body If NameLoad body Raise Call NameLoad Str Assign NameStore BinOpAdd Call NameLoad NameLoad Num If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad NameLoad NameLoad ListLoad Continue orelse If CompareEq NameLoad Str body If BoolOpOr UnaryOpNot NameLoad CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Num Call AttributeLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num attr Assign SubscriptStore NameLoad Index Num Call AttributeLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Continue orelse If CompareEq NameLoad Str body If BoolOpOr UnaryOpNot NameLoad CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad orelse Raise Call NameLoad BinOpAdd Str NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body AugAssignAdd NameStore Num Assign NameStore IfExp AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Expr Call NameLoad Call NameLoad NameLoad ListLoad ListLoad Num Str Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Str Expr Call NameLoad Call NameLoad NameLoad ListLoad ListLoad Num Str Str Str ListLoad Num Str Str Str decorator_list
N/A N/A inspect N/A os N/A re N/A sys tests._util eq_ N/A __all__ N/A rendered_markup_eq_ RenderTest rendered_markup_eq_ N/A N/A template_text N/A context N/A N/A genshi genshi.template N/A chunked_raw N/A chunk_assertion_blocks template_text N/A N/A chunked_raw N/A N/A N/A AssertionError No test chunks found in template text. N/A template N/A N/A N/A genshi template MarkupTemplate template_text N/A stream N/A N/A template generate context N/A output N/A N/A stream render xhtml N/A chunked_output N/A chunk_assertion_blocks output N/A N/A idx label lhs rhs chunked_output N/A N/A N/A lhs rhs N/A test %s: %r != %r N/A label lhs rhs N/A N/A eq_ N/A len chunked_raw N/A len chunked_output N/A TextFileMixin N/A object N/A wrap_with_xmlns N/A N/A self template N/A N/A N/A N/A N/A <div xmlns="http://www.w3.org/1999/xhtml" xmlns:form="http://ns.discorporate.us/flatland/genshi" xmlns:py="http://genshi.edgewall.org/">
 template 
</div> N/A _make_text_runner N/A N/A self filename template default_label N/A N/A N/A label N/A N/A N/A N/A N/A N/A N/A N/A template strip splitlines N/A 0 N/A 3 strip N/A N/A N/A label N/A label test N/A N/A label N/A test %s default_label N/A tester N/A N/A N/A context text N/A N/A N/A self compare_ context text N/A N/A tester description N/A %s: %s N/A N/A N/A N/A os path basename filename label N/A tester N/A from_file N/A N/A self filename context_factory N/A dict N/A N/A modpath N/A N/A N/A sys modules N/A N/A self __module__ __file__ N/A filepath N/A N/A N/A os path join N/A N/A N/A os path dirname modpath filename N/A chunks N/A chunk_file filepath N/A N/A num chunk N/A enumerate chunks N/A N/A wrapped N/A N/A self wrap_with_xmlns chunk N/A N/A N/A N/A N/A self _make_text_runner filename chunk N/A num 1 N/A context_factory wrapped N/A from_string N/A N/A self collection context_factory name N/A dict None N/A N/A chunks N/A chunk_text collection N/A N/A name None N/A N/A name N/A N/A N/A N/A inspect stack N/A 1 N/A 3 N/A N/A num chunk N/A enumerate chunks N/A N/A wrapped N/A N/A self wrap_with_xmlns chunk N/A N/A N/A N/A N/A self _make_text_runner name chunk N/A num 1 N/A context_factory wrapped N/A N/A from_text_files N/A N/A context_factory N/A dict N/A wrap N/A N/A fn N/A N/A test N/A N/A self N/A args kw N/A N/A files N/A fn self args kw N/A N/A isinstance files basestring N/A N/A files N/A files N/A base N/A N/A N/A os path dirname N/A N/A N/A os path abspath N/A N/A inspect getsourcefile fn N/A all_tests N/A N/A name files N/A N/A filename N/A N/A N/A os path join base name N/A N/A N/A all_tests extend N/A N/A self from_file filename context_factory N/A N/A test context template all_tests N/A N/A N/A N/A test context template N/A N/A N/A test func_name N/A fn func_name N/A test N/A N/A wrap N/A from_docstring N/A N/A context_factory N/A dict N/A wrap N/A N/A fn N/A N/A test N/A N/A self N/A args kw N/A N/A tests N/A N/A self from_string N/A fn __doc__ context_factory name N/A fn func_name N/A N/A test context template tests N/A N/A N/A N/A test context template N/A N/A N/A test func_name N/A fn func_name N/A test N/A N/A wrap N/A RenderTest N/A TextFileMixin N/A N/A format xhtml N/A debug False compile N/A N/A self template_text N/A N/A N/A genshi.template N/A N/A N/A N/A genshi template MarkupTemplate template_text N/A to_genshi_context N/A N/A self context N/A N/A N/A genshi.template N/A N/A N/A isinstance context N/A N/A genshi template Context N/A N/A N/A N/A N/A genshi template Context context N/A context N/A generate N/A N/A self template context N/A N/A N/A N/A N/A template generate context N/A render N/A N/A self stream format N/A None N/A N/A N/A format None N/A N/A format N/A self format N/A N/A N/A stream render format N/A compare_ N/A N/A self context template_text N/A N/A N/A chunked_raw N/A chunk_assertion_blocks template_text N/A N/A chunked_raw N/A N/A N/A AssertionError No test chunks found in template text. N/A template N/A N/A self compile template_text N/A genshi_context N/A N/A self to_genshi_context context N/A stream N/A N/A self generate template genshi_context N/A output N/A N/A self render stream N/A N/A self debug N/A N/A template_text N/A output N/A chunked_output N/A chunk_assertion_blocks output N/A N/A N/A N/A idx label lhs rhs chunked_output N/A N/A N/A lhs rhs N/A test %s: %r != %r N/A label lhs rhs N/A N/A eq_ N/A len chunked_raw N/A len chunked_output N/A N/A N/A N/A output N/A N/A N/A FilteredRenderTest N/A RenderTest N/A generate N/A N/A self template context N/A N/A flatland.out.genshi flatland_filter N/A N/A flatland_filter N/A N/A template generate context context N/A N/A ChunkError N/A Exception N/A N/A Internal to chunk_assertion_blocks. N/A chunk_file N/A N/A filepath N/A N/A N/A fh N/A open filepath rb N/A N/A slurping lines N/A False N/A N/A line N/A N/A fh readlines N/A N/A N/A N/A slurping N/A N/A line startswith :: N/A N/A slurping True N/A slurping N/A N/A N/A N/A lines append line N/A N/A N/A N/A N/A chunk_text N/A N/A join lines N/A N/A N/A N/A fh close N/A chunk_text N/A N/A string N/A N/A N/A N/A N/A chunk 
:: endtest N/A chunk N/A N/A re split (?:^|\n):: *endtest string N/A N/A re search (?:^|\n):: *test\b chunk N/A chunk_assertion_blocks N/A N/A text N/A N/A N/A chunks N/A N/A buffer None N/A N/A lineno line N/A enumerate N/A N/A text splitlines N/A N/A N/A N/A N/A line startswith :: N/A N/A buffer N/A N/A N/A N/A N/A buffer N/A -1 append line N/A N/A tokens N/A N/A N/A line N/A 2 split N/A N/A N/A N/A pragma args N/A N/A tokens N/A 0 N/A tokens N/A 1 N/A N/A pragma test N/A N/A buffer N/A N/A N/A ChunkError test out of order N/A chunknum N/A N/A len chunks 1 N/A args N/A N/A title N/A N/A join args N/A N/A title N/A str chunknum N/A buffer N/A chunknum title N/A N/A N/A N/A N/A pragma endtest N/A N/A N/A N/A buffer N/A N/A len buffer 3 N/A N/A N/A ChunkError endtest out of order N/A N/A buffer N/A 2 N/A N/A N/A N/A join N/A buffer N/A 2 strip N/A N/A buffer N/A 3 N/A N/A N/A N/A join N/A buffer N/A 3 strip N/A N/A N/A chunks append buffer N/A buffer None N/A N/A N/A N/A pragma eq N/A N/A N/A N/A buffer N/A N/A len buffer 3 N/A N/A N/A ChunkError eq out of order N/A N/A N/A buffer append N/A N/A N/A N/A ChunkError N/A unknown pragma pragma N/A N/A N/A N/A ChunkError IndexError N/A exc N/A N/A lineno 1 N/A arg N/A N/A exc args N/A N/A exc args N/A 0 N/A N/A AssertionError N/A Invalid testing chunk specification: %s
line %s:
%r N/A arg lineno line N/A chunks N/A test_chunk_assertion_blocks_1 N/A N/A N/A N/A N/A input 
foo
bar
:: test
thing
thing
:: eq
thing thing
:: endtest
 N/A N/A eq_ N/A chunk_assertion_blocks input N/A N/A 1 1 thing thing thing thing N/A test_chunk_assertion_blocks_2 N/A N/A N/A N/A N/A input 
<div>
:: test
  <b>thing
       </b>

:: eq
  <b>thing
       </b>

:: endtest
</div>

<p>
:: test label  label
foo
::eq
bar
:: endtest N/A N/A eq_ N/A chunk_assertion_blocks input N/A N/A 1 1 <b>thing        </b> <b>thing        </b> N/A 2 label label foo bar N/A