Core: refactoring contexts with more logical responsibilities, stopping to rely on kargs ordering for compat with python3.5
This commit is contained in:
@ -58,7 +58,7 @@ def test_define_with_decorator():
|
||||
Concrete = MethodBasedConfigurable(my_handler)
|
||||
|
||||
assert callable(Concrete.handler)
|
||||
assert Concrete.handler == my_handler
|
||||
assert Concrete.handler.__func__ == my_handler
|
||||
|
||||
with inspect_node(Concrete) as ci:
|
||||
assert ci.type == MethodBasedConfigurable
|
||||
|
||||
Reference in New Issue
Block a user