code: def test_edit_nodata_callback_all_like(data):
      ctx = MockContext()
      ctx.obj["like"] = {"nodata": 0.0}
      ctx.obj["all_like"] = True
      assert edit_nodata_handler(ctx, MockOption("nodata"), None) == 0.0
  
imports: import math
  import uuid
  import click
  import pytest
  from rasterio.enums import ColorInterp
  from rasterio.rio.options import bounds_handler, file_in_handler, like_handler, edit_nodata_handler, nodata_handler, _cb_key_val
label_desc: Use image node_id 24 for calling a global function with example usage: test_edit_nodata_callback_all_like(data) without return types