def test_function_repr(self):
    func = lambda arg: True
    comp = Function(func)
    self.assertEqual(repr(comp), "Function(%s)" % str(func))
dataset/ETHPy150Open agoragames/chai/tests/comparator_test.py/ComparatorsTest.test_function_repr/original