Module Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad Num TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str NameLoad TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad NameLoad TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad NameLoad TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad 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 Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad Num TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str NameLoad Num TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad Str Call NameLoad TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Call NameLoad Str TupleLoad NameLoad Num Num TupleLoad AttributeLoad NameLoad attr Str TupleLoad NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore BinOpBitOr Call NameLoad Str Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpBitOr Call NameLoad Str Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpBitOr Call NameLoad Str Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A doctest N/A unittest N/A sys genshi.core Attrs Stream QName genshi.input HTML XML genshi.output DocType XMLSerializer XHTMLSerializer HTMLSerializer EmptyTagFilter XMLSerializerTestCase N/A N/A unittest TestCase N/A test_with_xml_decl N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream XML_DECL N/A 1.0 None -1 N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer doctype xhtml N/A N/A N/A self assertEqual <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 output N/A test_doctype_in_stream N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream DOCTYPE N/A DocType HTML_STRICT N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 output N/A test_doctype_in_stream_no_sysid N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream DOCTYPE N/A html -//W3C//DTD HTML 4.01//EN None N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 output N/A test_doctype_in_stream_no_pubid N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream DOCTYPE N/A html None http://www.w3.org/TR/html4/strict.dtd N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <!DOCTYPE html SYSTEM "http://www.w3.org/TR/html4/strict.dtd">
 output N/A test_doctype_in_stream_no_pubid_or_sysid N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream DOCTYPE N/A html None None N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <!DOCTYPE html>
 output N/A test_serializer_doctype N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A output N/A N/A stream render XMLSerializer doctype N/A DocType HTML_STRICT N/A N/A N/A self assertEqual <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 output N/A test_doctype_one_and_only N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream DOCTYPE N/A html None None N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer doctype N/A DocType HTML_STRICT N/A N/A N/A self assertEqual <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 output N/A test_comment N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream COMMENT foo bar N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <!--foo bar--> output N/A test_processing_instruction N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream PI N/A python x = 2 N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <?python x = 2?> output N/A test_nested_default_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}div N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <div xmlns="http://example.org/">
          <p/>
          <p/>
        </div> output N/A test_nested_bound_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}div N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <x:div xmlns:x="http://example.org/">
          <x:p/>
          <x:p/>
        </x:div> output N/A test_multiple_default_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START N/A N/A QName div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName div N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <div>
          <p xmlns="http://example.org/"/>
          <p xmlns="http://example.org/"/>
        </div> output N/A test_multiple_bound_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START N/A N/A QName div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName http://example.org/}p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName http://example.org/}p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName div N/A None -1 -1 N/A output N/A N/A stream render XMLSerializer N/A N/A N/A self assertEqual <div>
          <x:p xmlns:x="http://example.org/"/>
          <x:p xmlns:x="http://example.org/"/>
        </div> output N/A test_atom_with_xhtml N/A N/A self N/A N/A N/A text <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
            <id>urn:uuid:c60843aa-0da8-4fa6-bbe5-98007bc6774e</id>
            <updated>2007-01-28T11:36:02.807108-06:00</updated>
            <title type="xhtml">
                <div xmlns="http://www.w3.org/1999/xhtml">Example</div>
            </title>
            <subtitle type="xhtml">
                <div xmlns="http://www.w3.org/1999/xhtml">Bla bla bla</div>
            </subtitle>
            <icon/>
        </feed> N/A output N/A N/A N/A XML text render XMLSerializer N/A N/A N/A self assertEqual text output N/A N/A XHTMLSerializerTestCase N/A N/A unittest TestCase N/A test_xml_decl_dropped N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream XML_DECL N/A 1.0 None -1 N/A None -1 -1 N/A output N/A N/A stream render XHTMLSerializer doctype xhtml N/A N/A N/A self assertEqual <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 output N/A test_xml_decl_included N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream XML_DECL N/A 1.0 None -1 N/A None -1 -1 N/A output N/A N/A stream render XHTMLSerializer doctype xhtml drop_xml_decl False N/A N/A N/A self assertEqual <?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 output N/A test_xml_lang N/A N/A self N/A N/A N/A text <p xml:lang="en">English text</p> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual <p lang="en" xml:lang="en">English text</p> output N/A test_xml_lang_nodup N/A N/A self N/A N/A N/A text <p xml:lang="en" lang="en">English text</p> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual <p xml:lang="en" lang="en">English text</p> output N/A test_textarea_whitespace N/A N/A self N/A N/A N/A content 
Hey there.  

    I am indented.
 N/A stream N/A XML N/A <textarea name="foo">%s</textarea> content N/A output N/A N/A stream render XHTMLSerializer N/A N/A N/A self assertEqual N/A <textarea name="foo">%s</textarea> content output N/A test_pre_whitespace N/A N/A self N/A N/A N/A content 
Hey <em>there</em>.  

    I am indented.
 N/A stream N/A XML N/A <pre>%s</pre> content N/A output N/A N/A stream render XHTMLSerializer N/A N/A N/A self assertEqual N/A <pre>%s</pre> content output N/A test_xml_space N/A N/A self N/A N/A N/A text <foo xml:space="preserve"> Do not mess  

 with me </foo> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual <foo> Do not mess  

 with me </foo> output N/A test_empty_script N/A N/A self N/A N/A N/A text <html xmlns="http://www.w3.org/1999/xhtml">
            <script src="foo.js" />
        </html> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual <html xmlns="http://www.w3.org/1999/xhtml">
            <script src="foo.js"></script>
        </html> output N/A test_script_escaping N/A N/A self N/A N/A N/A text <script>/*<![CDATA[*/
            if (1 < 2) { alert("Doh"); }
        /*]]>*/</script> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_script_escaping_with_namespace N/A N/A self N/A N/A N/A text <script xmlns="http://www.w3.org/1999/xhtml">/*<![CDATA[*/
            if (1 < 2) { alert("Doh"); }
        /*]]>*/</script> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_style_escaping N/A N/A self N/A N/A N/A text <style>/*<![CDATA[*/
            html > body { display: none; }
        /*]]>*/</style> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_style_escaping_with_namespace N/A N/A self N/A N/A N/A text <style xmlns="http://www.w3.org/1999/xhtml">/*<![CDATA[*/
            html > body { display: none; }
        /*]]>*/</style> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_embedded_svg N/A N/A self N/A N/A N/A text <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg">
          <body>
            <button>
              <svg:svg width="600px" height="400px">
                <svg:polygon id="triangle" points="50,50 50,300 300,300"></svg:polygon>
              </svg:svg>
            </button>
          </body>
        </html> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_xhtml_namespace_prefix N/A N/A self N/A N/A N/A text <div xmlns="http://www.w3.org/1999/xhtml">
            <strong>Hello</strong>
        </div> N/A output N/A N/A N/A XML text render XHTMLSerializer N/A N/A N/A self assertEqual text output N/A test_nested_default_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName p N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName div N/A None -1 -1 N/A N/A Stream END_NS N/A None -1 -1 N/A output N/A N/A stream render XHTMLSerializer N/A N/A N/A self assertEqual <div xmlns="http://example.org/">
          <p></p>
          <p></p>
        </div> output N/A test_nested_bound_namespaces N/A N/A self N/A N/A N/A stream N/A Stream N/A N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName div N/A Attrs N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream START_NS N/A x http://example.org/ N/A None -1 -1 N/A N/A Stream START N/A N/A QName p N/A Attrs N/A None -1 -1 N/A N/A Stream END N/A QName p N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A N/A Stream TEXT N/A None -1 -1 N/A N/A Stream END N/A QName div N/A None -1 -1 N/A N/A Stream END_NS x N/A None -1 -1 N/A output N/A N/A stream render XHTMLSerializer N/A N/A N/A self assertEqual <div xmlns:x="http://example.org/">
          <p></p>
          <p></p>
        </div> output N/A test_html5_doctype N/A N/A self N/A N/A N/A stream N/A HTML <html></html> N/A output N/A N/A stream render XHTMLSerializer doctype N/A DocType HTML5 N/A N/A N/A self assertEqual <!DOCTYPE html>
<html></html> output N/A N/A HTMLSerializerTestCase N/A N/A unittest TestCase N/A test_xml_lang N/A N/A self N/A N/A N/A text <p xml:lang="en">English text</p> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <p lang="en">English text</p> output N/A test_xml_lang_nodup N/A N/A self N/A N/A N/A text <p lang="en" xml:lang="en">English text</p> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <p lang="en">English text</p> output N/A test_textarea_whitespace N/A N/A self N/A N/A N/A content 
Hey there.  

    I am indented.
 N/A stream N/A XML N/A <textarea name="foo">%s</textarea> content N/A output N/A N/A stream render HTMLSerializer N/A N/A N/A self assertEqual N/A <textarea name="foo">%s</textarea> content output N/A test_pre_whitespace N/A N/A self N/A N/A N/A content 
Hey <em>there</em>.  

    I am indented.
 N/A stream N/A XML N/A <pre>%s</pre> content N/A output N/A N/A stream render HTMLSerializer N/A N/A N/A self assertEqual N/A <pre>%s</pre> content output N/A test_xml_space N/A N/A self N/A N/A N/A text <foo xml:space="preserve"> Do not mess  

 with me </foo> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <foo> Do not mess  

 with me </foo> output N/A test_empty_script N/A N/A self N/A N/A N/A text <script src="foo.js" /> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <script src="foo.js"></script> output N/A test_script_escaping N/A N/A self N/A N/A N/A text <script>if (1 &lt; 2) { alert("Doh"); }</script> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <script>if (1 < 2) { alert("Doh"); }</script> output N/A test_script_escaping_with_namespace N/A N/A self N/A N/A N/A text <script xmlns="http://www.w3.org/1999/xhtml">
            if (1 &lt; 2) { alert("Doh"); }
        </script> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <script>
            if (1 < 2) { alert("Doh"); }
        </script> output N/A test_style_escaping N/A N/A self N/A N/A N/A text <style>html &gt; body { display: none; }</style> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <style>html > body { display: none; }</style> output N/A test_style_escaping_with_namespace N/A N/A self N/A N/A N/A text <style xmlns="http://www.w3.org/1999/xhtml">
            html &gt; body { display: none; }
        </style> N/A output N/A N/A N/A XML text render HTMLSerializer N/A N/A N/A self assertEqual <style>
            html > body { display: none; }
        </style> output N/A test_html5_doctype N/A N/A self N/A N/A N/A stream N/A HTML <html></html> N/A output N/A N/A stream render HTMLSerializer doctype N/A DocType HTML5 N/A N/A N/A self assertEqual <!DOCTYPE html>
<html></html> output N/A N/A EmptyTagFilterTestCase N/A N/A unittest TestCase N/A test_empty N/A N/A self N/A N/A N/A stream N/A N/A XML <elem></elem> N/A EmptyTagFilter N/A N/A N/A self assertEqual N/A N/A EmptyTagFilter EMPTY N/A N/A ev N/A 0 N/A ev stream N/A test_text_content N/A N/A self N/A N/A N/A stream N/A N/A XML <elem>foo</elem> N/A EmptyTagFilter N/A N/A N/A self assertEqual N/A N/A Stream START N/A Stream TEXT N/A Stream END N/A N/A ev N/A 0 N/A ev stream N/A test_elem_content N/A N/A self N/A N/A N/A stream N/A N/A XML <elem><sub /><sub /></elem> N/A EmptyTagFilter N/A N/A N/A self assertEqual N/A N/A Stream START N/A EmptyTagFilter EMPTY N/A EmptyTagFilter EMPTY N/A Stream END N/A N/A ev N/A 0 N/A ev stream N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite XMLSerializerTestCase test N/A N/A N/A suite addTest N/A N/A unittest makeSuite XHTMLSerializerTestCase test N/A N/A N/A suite addTest N/A N/A unittest makeSuite HTMLSerializerTestCase test N/A N/A N/A suite addTest N/A N/A unittest makeSuite EmptyTagFilterTestCase test N/A N/A N/A suite addTest N/A N/A doctest DocTestSuite N/A XMLSerializer __module__ N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main defaultTest suite