Module Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore CompareEq AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpMult Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Str keyword AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot NameLoad body Assign NameStore Num orelse Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Assign NameStore Num While CompareIs Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str Str handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list If UnaryOpNot NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Import alias Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Return NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return TryExcept body Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Return decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr keyword Lambda arguments args defaults Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list If NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword Lambda arguments args defaults Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A unittest test test_support N/A subprocess N/A sys N/A signal N/A os N/A tempfile N/A time N/A re N/A mswindows N/A N/A sys platform win32 remove_stderr_debug_decorations N/A N/A stderr N/A N/A N/A N/A N/A re sub \[\d+ refs\]\r?\n?$ stderr N/A ProcessTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A hasattr test_support reap_children N/A N/A N/A N/A test_support reap_children N/A tearDown N/A N/A self N/A N/A N/A N/A hasattr test_support reap_children N/A N/A N/A N/A test_support reap_children N/A mkstemp N/A N/A self N/A N/A N/A wrapper for mkstemp, calling mktemp if mkstemp is not available N/A N/A hasattr tempfile mkstemp N/A N/A N/A N/A tempfile mkstemp N/A N/A fname N/A N/A tempfile mktemp N/A N/A N/A N/A os open fname N/A N/A os O_RDWR N/A os O_CREAT fname N/A test_call_seq N/A N/A self N/A N/A N/A rc N/A N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(47) N/A N/A N/A self assertEqual rc 47 N/A test_check_call_zero N/A N/A self N/A N/A N/A rc N/A N/A subprocess check_call N/A N/A sys executable -c import sys; sys.exit(0) N/A N/A N/A self assertEqual rc 0 N/A test_check_call_nonzero N/A N/A self N/A N/A N/A N/A N/A N/A N/A subprocess check_call N/A N/A sys executable -c import sys; sys.exit(47) N/A N/A N/A N/A subprocess CalledProcessError N/A e N/A N/A N/A N/A self assertEqual N/A e returncode 47 N/A N/A N/A N/A self fail Expected CalledProcessError N/A test_call_kwargs N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT banana N/A rc N/A N/A subprocess call N/A N/A sys executable -c import sys, os;sys.exit(os.getenv("FRUIT")=="banana") env newenv N/A N/A N/A self assertEqual rc 1 N/A test_stdin_none N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c print "banana" stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p stdin None N/A test_stdout_none N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c print "    this bit of output is from a test of stdout in a different process ..." stdin N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p stdout None N/A test_stderr_none N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c print "banana" stdin N/A subprocess PIPE stdout N/A subprocess PIPE N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p stderr None N/A test_executable N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A somethingyoudonthave -c import sys; sys.exit(47) executable N/A sys executable N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p returncode 47 N/A test_stdin_pipe N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.exit(sys.stdin.read() == "pear") stdin N/A subprocess PIPE N/A N/A N/A N/A p stdin write pear N/A N/A N/A N/A p stdin close N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p returncode 1 N/A test_stdin_filedes N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A d N/A N/A tf fileno N/A N/A N/A os write d pear N/A N/A N/A os lseek d 0 0 N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.exit(sys.stdin.read() == "pear") stdin d N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p returncode 1 N/A test_stdin_fileobj N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A N/A N/A tf write pear N/A N/A N/A tf seek 0 N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.exit(sys.stdin.read() == "pear") stdin tf N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A p returncode 1 N/A test_stdout_pipe N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stdout.write("orange") stdout N/A subprocess PIPE N/A N/A N/A self assertEqual N/A N/A N/A p stdout read orange N/A test_stdout_filedes N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A d N/A N/A tf fileno N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stdout.write("orange") stdout d N/A N/A N/A p wait N/A N/A N/A os lseek d 0 0 N/A N/A N/A self assertEqual N/A N/A os read d 1024 orange N/A test_stdout_fileobj N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stdout.write("orange") stdout tf N/A N/A N/A p wait N/A N/A N/A tf seek 0 N/A N/A N/A self assertEqual N/A N/A tf read orange N/A test_stderr_pipe N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stderr.write("strawberry") stderr N/A subprocess PIPE N/A N/A N/A self assertEqual N/A remove_stderr_debug_decorations N/A N/A N/A p stderr read strawberry N/A test_stderr_filedes N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A d N/A N/A tf fileno N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stderr.write("strawberry") stderr d N/A N/A N/A p wait N/A N/A N/A os lseek d 0 0 N/A N/A N/A self assertEqual N/A remove_stderr_debug_decorations N/A N/A os read d 1024 strawberry N/A test_stderr_fileobj N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stderr.write("strawberry") stderr tf N/A N/A N/A p wait N/A N/A N/A tf seek 0 N/A N/A N/A self assertEqual N/A remove_stderr_debug_decorations N/A N/A tf read strawberry N/A test_stdout_stderr_pipe N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys;sys.stdout.write("apple");sys.stdout.flush();sys.stderr.write("orange") stdout N/A subprocess PIPE stderr N/A subprocess STDOUT N/A output N/A N/A N/A p stdout read N/A stripped N/A remove_stderr_debug_decorations output N/A N/A N/A self assertEqual stripped appleorange N/A test_stdout_stderr_file N/A N/A self N/A N/A N/A tf N/A N/A tempfile TemporaryFile N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys;sys.stdout.write("apple");sys.stdout.flush();sys.stderr.write("orange") stdout tf stderr tf N/A N/A N/A p wait N/A N/A N/A tf seek 0 N/A output N/A N/A tf read N/A stripped N/A remove_stderr_debug_decorations output N/A N/A N/A self assertEqual stripped appleorange N/A test_stdout_filedes_of_stdout N/A N/A self N/A N/A N/A cmd import sys, os; sys.exit(os.write(sys.stdout.fileno(), '.\n')) N/A rc N/A N/A subprocess call N/A N/A sys executable -c cmd stdout 1 N/A N/A N/A self assertEquals rc 2 N/A test_cwd N/A N/A self N/A N/A N/A tmpdir N/A N/A os getenv TEMP /tmp N/A cwd N/A N/A os getcwd N/A N/A N/A os chdir tmpdir N/A tmpdir N/A N/A os getcwd N/A N/A N/A os chdir cwd N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys,os;sys.stdout.write(os.getcwd()) stdout N/A subprocess PIPE cwd tmpdir N/A normcase N/A N/A os path normcase N/A N/A N/A self assertEqual N/A normcase N/A N/A N/A p stdout read N/A normcase tmpdir N/A test_env N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT orange N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys,os;sys.stdout.write(os.getenv("FRUIT")) stdout N/A subprocess PIPE env newenv N/A N/A N/A self assertEqual N/A N/A N/A p stdout read orange N/A test_communicate_stdin N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.exit(sys.stdin.read() == "pear") stdin N/A subprocess PIPE N/A N/A N/A p communicate pear N/A N/A N/A self assertEqual N/A p returncode 1 N/A test_communicate_stdout N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stdout.write("pineapple") stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A self assertEqual stdout pineapple N/A N/A N/A self assertEqual stderr None N/A test_communicate_stderr N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.stderr.write("pineapple") stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A self assertEqual stdout None N/A N/A N/A self assert_ N/A N/A stderr startswith pineapple N/A test_communicate N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys,os;sys.stderr.write("pineapple");sys.stdout.write(sys.stdin.read()) stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A p communicate banana N/A N/A N/A self assertEqual stdout banana N/A N/A N/A self assertEqual N/A remove_stderr_debug_decorations stderr pineapple N/A test_communicate_returns N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys; sys.exit(47) N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A self assertEqual stdout None N/A N/A N/A self assertEqual stderr None N/A test_communicate_pipe_buf N/A N/A self N/A N/A N/A N/A x y N/A N/A os pipe N/A mswindows N/A N/A pipe_buf 512 N/A N/A pipe_buf N/A N/A os fpathconf x PC_PIPE_BUF N/A N/A N/A os close x N/A N/A N/A os close y N/A p N/A N/A subprocess Popen N/A N/A sys executable -c N/A import sys,os;sys.stdout.write(sys.stdin.read(47));sys.stderr.write("xyz"*%d);sys.stdout.write(sys.stdin.read()) pipe_buf stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A string_to_write N/A abc pipe_buf N/A N/A stdout stderr N/A N/A p communicate string_to_write N/A N/A N/A self assertEqual stdout string_to_write N/A N/A N/A test_support impl_detail os.fpathconf test_writes_before_communicate N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys,os;sys.stdout.write(sys.stdin.read()) stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A N/A p stdin write banana N/A N/A stdout stderr N/A N/A p communicate split N/A N/A N/A self assertEqual stdout bananasplit N/A N/A N/A self assertEqual N/A remove_stderr_debug_decorations stderr N/A test_universal_newlines N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -u -c import sys,os;sys.stdout.write("line1\n");sys.stdout.flush();sys.stdout.write("line2\r");sys.stdout.flush();sys.stdout.write("line3\r\n");sys.stdout.flush();sys.stdout.write("line4\r");sys.stdout.flush();sys.stdout.write("\nline5");sys.stdout.flush();sys.stdout.write("\nline6"); stdout N/A subprocess PIPE universal_newlines 1 N/A stdout N/A N/A N/A p stdout read N/A N/A hasattr file newlines N/A N/A N/A N/A self assertEqual stdout line1
line2
line3
line4
line5
line6 N/A N/A N/A N/A self assertEqual stdout line1
line2
line3
line4
line5
line6 N/A test_universal_newlines_communicate N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -u -c import sys,os;sys.stdout.write("line1\n");sys.stdout.flush();sys.stdout.write("line2\r");sys.stdout.flush();sys.stdout.write("line3\r\n");sys.stdout.flush();sys.stdout.write("line4\r");sys.stdout.flush();sys.stdout.write("\nline5");sys.stdout.flush();sys.stdout.write("\nline6"); stdout N/A subprocess PIPE stderr N/A subprocess PIPE universal_newlines 1 N/A N/A stdout stderr N/A N/A p communicate N/A N/A hasattr file newlines N/A N/A N/A N/A self assertEqual stdout line1
line2
line3
line4
line5
line6 N/A N/A N/A N/A self assertEqual stdout line1
line2
line3
line4
line5
line6 N/A test_no_leaking N/A N/A self N/A N/A N/A N/A N/A N/A hasattr test_support is_resource_enabled N/A N/A N/A test_support is_resource_enabled subprocess N/A mswindows N/A N/A max_handles 1026 N/A N/A max_handles 65 N/A i N/A range max_handles N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys;sys.stdout.write(sys.stdin.read()) stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A data N/A N/A N/A p communicate lime N/A 0 N/A N/A N/A self assertEqual data lime N/A test_list2cmdline N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A a b c d e "a b c" d e N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A ab"c \ d ab\"c \ d N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A a\\\b de fg h a\\\b "de fg" h N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A a\"b c d a\\\"b c d N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A a\\b c d e "a\\b c" d e N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A a\\b\ c d e "a\\b\ c" d e N/A N/A N/A self assertEqual N/A N/A subprocess list2cmdline N/A ab ab "" N/A test_poll N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import time; time.sleep(1) N/A count 0 N/A N/A N/A N/A p poll None N/A N/A N/A N/A time sleep 0.1 N/A count 1 N/A N/A N/A self assert_ N/A count 2 N/A N/A N/A self assertEqual N/A N/A p poll 0 N/A test_wait N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import time; time.sleep(2) N/A N/A N/A self assertEqual N/A N/A p wait 0 N/A N/A N/A self assertEqual N/A N/A p wait 0 N/A test_invalid_bufsize N/A N/A self N/A N/A N/A N/A N/A N/A N/A subprocess Popen N/A N/A sys executable -c pass orange N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A self fail Expected TypeError N/A N/A N/A mswindows N/A test_exceptions N/A N/A self N/A N/A N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c cwd /this/path/does/not/exist N/A N/A N/A OSError N/A e N/A N/A N/A N/A self assertNotEqual N/A N/A N/A e child_traceback find os.chdir -1 N/A N/A N/A N/A self fail Expected OSError N/A _suppress_core_files N/A N/A self N/A N/A N/A Try to prevent core files from being created.
            Returns previous ulimit if successful, else None.
             N/A N/A N/A resource N/A old_limit N/A N/A resource getrlimit N/A resource RLIMIT_CORE N/A N/A N/A resource setrlimit N/A resource RLIMIT_CORE N/A 0 0 N/A old_limit N/A N/A N/A N/A ImportError ValueError N/A resource error N/A N/A None N/A _unsuppress_core_files N/A N/A self old_limit N/A N/A N/A Return core file behavior to default. N/A N/A old_limit None N/A N/A N/A N/A N/A resource N/A N/A N/A resource setrlimit N/A resource RLIMIT_CORE old_limit N/A N/A N/A N/A ImportError ValueError N/A resource error N/A N/A N/A test_run_abort N/A N/A self N/A N/A N/A old_limit N/A N/A self _suppress_core_files N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import os; os.abort() N/A N/A N/A N/A self _unsuppress_core_files old_limit N/A N/A N/A p wait N/A N/A N/A self assertEqual N/A N/A p returncode N/A signal SIGABRT N/A test_preexec N/A N/A self N/A N/A N/A p N/A N/A subprocess Popen N/A N/A sys executable -c import sys,os;sys.stdout.write(os.getenv("FRUIT")) stdout N/A subprocess PIPE preexec_fn N/A N/A N/A N/A N/A N/A os putenv FRUIT apple N/A N/A N/A self assertEqual N/A N/A N/A p stdout read apple N/A test_args_string N/A N/A self N/A N/A N/A N/A f fname N/A N/A self mkstemp N/A N/A N/A os write f #!/bin/sh
 N/A N/A N/A os write f N/A exec %s -c 'import sys; sys.exit(47)'
 N/A sys executable N/A N/A N/A os close f N/A N/A N/A os chmod fname 448 N/A p N/A N/A subprocess Popen fname N/A N/A N/A p wait N/A N/A N/A os remove fname N/A N/A N/A self assertEqual N/A p returncode 47 N/A test_invalid_args N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(47) startupinfo 47 N/A N/A N/A self assertRaises ValueError N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(47) creationflags 47 N/A test_shell_sequence N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT apple N/A p N/A N/A subprocess Popen N/A echo $FRUIT shell 1 stdout N/A subprocess PIPE env newenv N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A p stdout read strip apple N/A test_shell_string N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT apple N/A p N/A N/A subprocess Popen echo $FRUIT shell 1 stdout N/A subprocess PIPE env newenv N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A p stdout read strip apple N/A test_call_string N/A N/A self N/A N/A N/A N/A f fname N/A N/A self mkstemp N/A N/A N/A os write f #!/bin/sh
 N/A N/A N/A os write f N/A exec %s -c 'import sys; sys.exit(47)'
 N/A sys executable N/A N/A N/A os close f N/A N/A N/A os chmod fname 448 N/A rc N/A N/A subprocess call fname N/A N/A N/A os remove fname N/A N/A N/A self assertEqual rc 47 N/A N/A mswindows N/A test_startupinfo N/A N/A self N/A N/A N/A STARTF_USESHOWWINDOW 1 N/A SW_MAXIMIZE 3 N/A startupinfo N/A N/A subprocess STARTUPINFO N/A N/A startupinfo dwFlags STARTF_USESHOWWINDOW N/A N/A startupinfo wShowWindow SW_MAXIMIZE N/A N/A N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(0) startupinfo startupinfo N/A test_creationflags N/A N/A self N/A N/A N/A CREATE_NEW_CONSOLE 16 N/A N/A N/A N/A sys stderr write     a DOS box should flash briefly ...
 N/A N/A N/A subprocess call N/A N/A sys executable  -c "import time; time.sleep(0.25)" creationflags CREATE_NEW_CONSOLE N/A test_invalid_args N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(47) preexec_fn N/A N/A N/A N/A 1 N/A N/A N/A self assertRaises ValueError N/A subprocess call N/A N/A sys executable -c import sys; sys.exit(47) close_fds True N/A test_shell_sequence N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT physalis N/A p N/A N/A subprocess Popen N/A set shell 1 stdout N/A subprocess PIPE env newenv N/A N/A N/A self assertNotEqual N/A N/A N/A N/A N/A p stdout read find physalis -1 N/A test_shell_string N/A N/A self N/A N/A N/A newenv N/A N/A N/A os environ copy N/A N/A newenv N/A FRUIT physalis N/A p N/A N/A subprocess Popen set shell 1 stdout N/A subprocess PIPE env newenv N/A N/A N/A self assertNotEqual N/A N/A N/A N/A N/A p stdout read find physalis -1 N/A test_call_string N/A N/A self N/A N/A N/A rc N/A N/A subprocess call N/A N/A sys executable  -c "import sys; sys.exit(47)" N/A N/A N/A self assertEqual rc 47 N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest ProcessTestCase N/A N/A hasattr test_support reap_children N/A N/A N/A N/A test_support reap_children N/A N/A N/A __name__ __main__ N/A N/A N/A test_main