code: def test_do_one():
      def bad(expr):
          raise ValueError
  
      assert list(do_one(inc)(3)) == [4]
      assert list(do_one(inc, bad)(3)) == [4]
      assert list(do_one(inc, posdec)(3)) == [4]
  
file_path: sympy/sympy/strategies/branch/tests/test_core.py
imports: from sympy.strategies.branch.core import exhaust, debug, multiplex, condition, notempty, chain, onaction, sfilter, yieldify, do_one, identity
label_desc: Use image node_id 15 for calling a global function with example usage: test_do_one() without return types