code: def test_frame_delete_proparty(self):
      mdf = pdml.ModelFrame(None, target=[1, 2, 3])
      msg = "ModelFrame must have either data or target"
  
      with pytest.raises(ValueError, match=msg):
          del mdf.target
  
      with pytest.raises(ValueError, match=msg):
          mdf.target = None
  
      mdf = pdml.ModelFrame([1, 2, 3])
      msg = "ModelFrame must have either data or target"
  
      with pytest.raises(ValueError, match=msg):
          del mdf.data
  
      with pytest.raises(ValueError, match=msg):
          mdf.data = None
  
imports: import pytest
  import datetime
  import warnings
  import numpy
  import pandas
  import sklearn.datasets
  import sklearn.svm
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 15 for calling the TestModelFrame obj's underlying member method code with example usage: obj.test_frame_delete_proparty() without return types