Module Expr Str ImportFrom alias alias alias alias ImportFrom alias FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults Num body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults Num body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Num Assert CompareEq AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareIn Str Call NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareIn Str Call NameLoad NameLoad With Call NameLoad NameLoad body Assign AttributeStore NameLoad attr Str With Call NameLoad NameLoad body Expr Call NameLoad keyword Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Num With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Num With Call NameLoad NameLoad body Expr Call NameLoad keyword Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num With Call NameLoad NameLoad body Delete AttributeDel NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list With Call NameLoad NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd NameLoad Num Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad Num Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body AugAssignAdd AttributeStore NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults Num body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body Pass decorator_list Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad keyword Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults Num body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Num Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad NameLoad attr Num With Call NameLoad NameLoad body Assign AttributeStore NameLoad attr Num With Call NameLoad NameLoad body Assign AttributeStore NameLoad attr Str With Call NameLoad NameLoad body Expr Call NameLoad keyword Num With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num With Call NameLoad NameLoad body Delete AttributeDel NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list With Call NameLoad NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword BinOpAdd Call NameLoad NameLoad Num decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore ListLoad FunctionDef arguments args defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr Str Str With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Index Num Num With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Index Num Num With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad NameLoad Index Num Num With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num With Call NameLoad NameLoad body Delete AttributeDel NameLoad attr With Call NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list With Call NameLoad NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call NameLoad
N/A N/A  Basic tests for emitters. Does not contain an awefull extensive
test suite, as we test emitters quite well in test_both.py.
 flexx.util.testing run_tests_if_main skipif skip raises flexx event test_property N/A N/A N/A N/A MyObject N/A N/A event HasEvents N/A foo N/A N/A self v N/A 1.2 N/A N/A N/A float v N/A N/A event prop bar N/A N/A self v N/A 1.3 N/A N/A N/A float v N/A N/A event prop N/A N/A m N/A MyObject N/A N/A N/A m foo 1.2 N/A N/A N/A m bar 1.3 N/A m N/A MyObject foo 3 N/A N/A N/A m foo 3.0 N/A N/A m foo 5.1 N/A N/A m bar 5.1 N/A N/A N/A m foo 5.1 N/A N/A N/A m bar 5.1 N/A N/A m foo 9.3 N/A N/A N/A m foo 9.3 N/A m N/A MyObject foo 3 N/A N/A N/A m foo 3.0 foo N/A N/A N/A N/A N/A N/A N/A x N/A N/A event prop foo N/A N/A foo N/A repr x N/A spam N/A N/A N/A x N/A None N/A x N/A N/A event prop spam N/A N/A <lambda> N/A repr x N/A N/A raises ValueError N/A N/A N/A m foo bla N/A N/A raises ValueError N/A N/A N/A MyObject foo bla N/A N/A raises TypeError N/A N/A N/A N/A m _set_prop 3 3 N/A N/A raises AttributeError N/A N/A N/A N/A m _set_prop spam 3 N/A N/A raises AttributeError N/A N/A N/A MyObject spam bla N/A N/A raises TypeError N/A N/A N/A N/A event prop 3 N/A N/A raises AttributeError N/A N/A N/A m foo MyObject2 N/A N/A event HasEvents N/A foo N/A N/A self v N/A N/A N/A N/A float v N/A N/A event prop N/A N/A N/A raises RuntimeError N/A N/A N/A MyObject2 N/A test_prop_recursion N/A N/A N/A N/A MyObject N/A N/A event HasEvents N/A N/A count 0 foo N/A N/A self v N/A 1 N/A N/A v N/A float v N/A N/A self bar N/A v 1 N/A v N/A N/A event prop bar N/A N/A self v N/A 2 N/A N/A v N/A float v N/A N/A self foo N/A v 1 N/A v N/A N/A event prop handle N/A N/A self N/A events N/A N/A N/A self count 1 N/A N/A N/A event connect foo bar N/A N/A m N/A MyObject N/A N/A N/A N/A event loop iter N/A N/A N/A m count 1 N/A N/A N/A m foo 1 N/A N/A N/A m bar 2 N/A m N/A MyObject foo 3 N/A N/A N/A N/A event loop iter N/A N/A N/A m count 1 N/A N/A N/A m foo 3 N/A N/A N/A m bar 4 N/A N/A m foo 50 N/A N/A N/A N/A event loop iter N/A N/A N/A m count 2 N/A N/A N/A m foo 50 N/A N/A N/A m bar 51 N/A N/A m bar 50 N/A N/A N/A N/A event loop iter N/A N/A N/A m count 3 N/A N/A N/A m foo 49 N/A N/A N/A m bar 50 N/A test_prop_init N/A N/A N/A N/A MyObject N/A N/A event HasEvents N/A foo N/A N/A self v N/A 1 N/A N/A N/A float v N/A N/A event prop foo_handler N/A N/A self N/A events N/A N/A N/A N/A N/A event connect foo N/A N/A m N/A MyObject N/A N/A N/A len N/A N/A m foo_handler _pending 1 N/A N/A m foo 2 N/A N/A m foo 3 N/A N/A N/A len N/A N/A m foo_handler _pending 3 N/A N/A m foo 3 N/A N/A N/A len N/A N/A m foo_handler _pending 3 N/A m N/A MyObject foo 9 N/A N/A N/A len N/A N/A m foo_handler _pending 2 N/A N/A m foo 2 N/A N/A m foo 3 N/A N/A N/A len N/A N/A m foo_handler _pending 4 N/A N/A m foo 3 N/A N/A N/A len N/A N/A m foo_handler _pending 4 N/A test_readonly N/A N/A N/A N/A MyObject N/A N/A event HasEvents N/A foo N/A N/A self v N/A 1.2 N/A N/A N/A float v N/A N/A event readonly N/A N/A m N/A MyObject N/A N/A N/A m foo 1.2 N/A N/A N/A m _set_prop foo 5.1 N/A N/A N/A m foo 5.1 N/A N/A N/A m _set_prop foo 9.3 N/A N/A N/A m foo 9.3 N/A N/A raises AttributeError N/A N/A N/A m foo 3.1 N/A N/A raises AttributeError N/A N/A N/A m foo bla N/A N/A raises AttributeError N/A N/A N/A MyObject foo 3.2 N/A N/A raises TypeError N/A N/A N/A N/A event readonly 3 N/A N/A raises AttributeError N/A N/A N/A m foo MyObject2 N/A N/A event HasEvents N/A foo N/A N/A self v N/A N/A N/A N/A float v N/A N/A event readonly N/A N/A N/A raises RuntimeError N/A N/A N/A MyObject2 N/A test_emitter N/A N/A N/A N/A MyObject N/A N/A event HasEvents N/A foo N/A N/A self v N/A N/A N/A N/A dict value N/A float v N/A N/A event emitter bar N/A N/A self v N/A N/A N/A N/A dict value N/A N/A float v 1 N/A N/A event emitter on_foo N/A N/A self N/A events N/A N/A N/A self the_val N/A N/A events N/A 0 value N/A on_bar N/A N/A self N/A events N/A N/A N/A self the_val N/A N/A events N/A 0 value N/A N/A N/A m N/A MyObject N/A the_vals N/A handle_foo N/A N/A N/A events N/A N/A N/A N/A the_vals append N/A N/A events N/A 0 value N/A N/A N/A m connect foo bar N/A N/A event loop N/A N/A N/A N/A m foo 3.2 N/A N/A N/A m the_val 3.2 N/A N/A N/A the_vals N/A -1 3.2 N/A N/A event loop N/A N/A N/A N/A m foo 9.1 N/A N/A N/A m the_val 9.1 N/A N/A N/A the_vals N/A -1 9.1 N/A N/A event loop N/A N/A N/A N/A m bar 3.2 N/A N/A N/A m the_val 4.2 N/A N/A N/A the_vals N/A -1 4.2 N/A N/A raises ValueError N/A N/A N/A N/A m foo bla N/A N/A raises TypeError N/A N/A N/A N/A event emitter 3 N/A N/A raises AttributeError N/A N/A N/A m foo N/A N/A raises AttributeError N/A N/A N/A m foo None MyObject2 N/A N/A event HasEvents N/A foo N/A N/A self v N/A N/A N/A N/A float v N/A N/A event emitter N/A N/A N/A raises TypeError N/A N/A m N/A MyObject2 N/A N/A N/A m foo 3.2 N/A N/A N/A run_tests_if_main