Module Expr Str Import alias Import alias FunctionDef arguments args defaults body Expr Str ImportFrom alias Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Import alias Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Dict Str Str NameLoad NameLoad FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Expr Call SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice BinOpAdd ListLoad Str Str Call NameLoad NameLoad Import alias decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print Call NameLoad NameLoad Print NameLoad Expr Call AttributeLoad NameLoad attr Num For TupleStore NameStore NameStore NameLoad body If CompareIn NameLoad TupleLoad Str Str body Print NameLoad Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr orelse Assert NameLoad Str If UnaryOpNot NameLoad body Print NameLoad Expr Call AttributeLoad NameLoad attr Num If CompareNotIn SubscriptLoad NameLoad Index Num NameLoad body Print BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Test PyMongo with a variety of greenlet-based monkey-patching frameworks. N/A getopt N/A sys run_gevent N/A N/A N/A N/A N/A Prepare to run tests with Gevent. Can raise ImportError. gevent monkey N/A N/A N/A monkey patch_all N/A run_eventlet N/A N/A N/A N/A N/A Prepare to run tests with Eventlet. Can raise ImportError. N/A eventlet N/A N/A N/A eventlet monkey_patch N/A N/A FRAMEWORKS N/A gevent eventlet run_gevent run_eventlet list_frameworks N/A N/A N/A N/A N/A Tell the user what framework names are valid. N/A N/A N/A N/A sys stdout write N/A Testable frameworks: %s

Note that membership in this list means the framework can be tested with
PyMongo, not necessarily that it is officially supported.
 N/A N/A ,  join N/A sorted FRAMEWORKS N/A run N/A N/A framework_name N/A args N/A N/A Run tests with monkey-patching enabled. Can raise ImportError. N/A N/A N/A FRAMEWORKS N/A framework_name N/A N/A N/A sys argv N/A N/A N/A setup.py test N/A list args N/A setup N/A main N/A N/A N/A N/A N/A Parse options and run tests. N/A usage N/A python %s FRAMEWORK_NAME

Test PyMongo with a variety of greenlet-based monkey-patching frameworks. See
python %s --help-frameworks. N/A N/A N/A sys argv N/A 0 N/A N/A sys argv N/A 0 N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 h N/A help help-frameworks N/A N/A N/A N/A getopt GetoptError N/A err N/A N/A N/A str err N/A usage N/A N/A N/A sys exit 2 N/A N/A option_name _ opts N/A N/A N/A option_name N/A -h --help N/A N/A usage N/A N/A N/A sys exit N/A N/A N/A option_name --help-frameworks N/A N/A N/A list_frameworks N/A N/A N/A sys exit N/A N/A False unhandled option N/A N/A args N/A N/A usage N/A N/A N/A sys exit 1 N/A N/A N/A args N/A 0 FRAMEWORKS N/A N/A N/A %r is not a testable framework.
 N/A args N/A 0 N/A N/A list_frameworks N/A N/A N/A sys exit 1 N/A N/A run N/A args N/A 0 N/A args N/A 1 N/A N/A N/A __name__ __main__ N/A N/A N/A main