Lichen

tests/operators.py

114:a818b7ef8f7b
2016-10-20 Paul Boddie Added some more test cases including one featuring a "broken" attribute chain.
     1 import operator     2      3 def f(a, op, b):     4     return op(a, b)     5      6 f(1, operator.add, 2)     7 f(1, operator.sub, 2)