code: def test_numpy_data(
      args,
  ):
      dtype, data = args
      x = MaskedArray(data[0], mask=data[1], dtype=dtype)
      assert ivy.all(x.data == ivy.array(data[0]))
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_ma/test_MaskedArray.py
imports: from hypothesis import strategies
  import ivy
  from ivy.functional.frontends.numpy.ma.MaskedArray import MaskedArray
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 2 for calling a global function with example usage: test_numpy_data(args) without return types