Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A unittest compatibility StringIO worksheet Worksheet TestWritePageMargins N/A N/A unittest TestCase N/A N/A 
    Test the Worksheet _write_page_margins() method.

     setUp N/A N/A self N/A N/A N/A N/A self fh N/A StringIO N/A N/A self worksheet N/A Worksheet N/A N/A N/A N/A self worksheet _set_filehandle N/A self fh N/A test_write_page_margins N/A N/A self N/A N/A N/A Test the _write_page_margins() method N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_deafult N/A N/A self N/A N/A N/A Test the _write_page_margins() method with default margins N/A N/A N/A N/A self worksheet set_margins N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_left N/A N/A self N/A N/A N/A Test the _write_page_margins() method with left margin N/A N/A N/A N/A self worksheet set_margins left 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.5" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_right N/A N/A self N/A N/A N/A Test the _write_page_margins() method with right margin N/A N/A N/A N/A self worksheet set_margins right 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.5" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_top N/A N/A self N/A N/A N/A Test the _write_page_margins() method with top margin N/A N/A N/A N/A self worksheet set_margins top 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.5" bottom="0.75" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_bottom N/A N/A self N/A N/A N/A Test the _write_page_margins() method with bottom margin N/A N/A N/A N/A self worksheet set_margins bottom 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.5" header="0.3" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_header N/A N/A self N/A N/A N/A Test the _write_page_margins() method with header margin N/A N/A N/A N/A self worksheet set_header margin 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.5" footer="0.3"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A test_write_page_margins_footer N/A N/A self N/A N/A N/A Test the _write_page_margins() method with footer margin N/A N/A N/A N/A self worksheet set_footer margin 0.5 N/A N/A N/A N/A self worksheet _write_page_margins N/A exp <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.5"/> N/A got N/A N/A N/A self fh getvalue N/A N/A N/A self assertEqual got exp N/A N/A