Module Import alias Import alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr keyword Str keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assert CompareEq AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad NameLoad Str Expr Call NameLoad NameLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str decorator_list decorator_list
N/A N/A os N/A tempfile numpy.testing assert_raises blocks.config Configuration ConfigurationError load_config N/A N/A contents N/A N/A N/A N/A N/A tempfile NamedTemporaryFile mode w delete False f N/A N/A N/A N/A f write contents N/A filename N/A f name N/A N/A N/A os environ N/A BLOCKS_CONFIG filename N/A N/A BLOCKS_DATA_PATH N/A os environ N/A N/A N/A N/A os environ N/A BLOCKS_DATA_PATH N/A config N/A Configuration N/A N/A N/A config add_config data_path str env_var BLOCKS_DATA_PATH N/A N/A N/A config add_config config_with_default int default 1 env_var BLOCKS_CONFIG_TEST N/A N/A N/A config add_config config_without_default str N/A N/A N/A config load_yaml N/A config N/A TestConfig N/A object N/A setUp N/A N/A self N/A N/A N/A N/A self _environ N/A dict N/A os environ N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A os environ clear N/A N/A N/A N/A os environ update N/A self _environ N/A test_config N/A N/A self N/A N/A N/A config N/A load_config data_path: yaml_path N/A N/A N/A config data_path yaml_path N/A N/A N/A os environ N/A BLOCKS_DATA_PATH env_path N/A N/A N/A config data_path env_path N/A N/A N/A config config_with_default 1 N/A N/A N/A os environ N/A BLOCKS_CONFIG_TEST 2 N/A N/A N/A config config_with_default 2 N/A N/A assert_raises AttributeError getattr config non_existing_config N/A N/A assert_raises ConfigurationError getattr config config_without_default N/A N/A config data_path manual_path N/A N/A N/A config data_path manual_path N/A N/A config new_config new_config N/A N/A N/A config new_config new_config N/A test_empty_config N/A N/A self N/A N/A N/A N/A load_config N/A N/A