is_callable has an implementation in Python 2.x and in 3.3+; you should use that. Ideally, we may want to have a hamcrest/core/compat.py that provides the right is_callable for us.