code: def test_datetime(self):
      dt = np.datetime64("2000-01", ("M", 2))
      assert np.datetime_data(dt) == ("M", 2)
  
      with pytest.raises(TypeError):
          np.datetime64("2000", garbage=True)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_almost_equal, assert_warns
label_desc: Use image node_id 2 for calling the TestExtraArgs obj's underlying member method code with example usage: obj.test_datetime() without return types