code: def test_schema_mismatch_error(self):
      X = np.ones(shape=(10, 2))
      schema = {0: "cont", 1: "cont", 2: "cont"}
      with pytest.raises(ValueError):
          from_numpy(X, schema)
  
imports: import copy
  import numpy
  import pandas
  import pytest
  import torch
  from causalnex.structure.pytorch.dist_type import DistTypeBinary, DistTypeCategorical, DistTypeContinuous, DistTypeOrdinal, DistTypePoisson
  from causalnex.structure.pytorch.notears import from_numpy, from_pandas
label_desc: Use image node_id 1 for calling the TestDistTypeNotears obj's underlying member method code with example usage: obj.test_schema_mismatch_error() without return types