code: def test_negate_datetime(self):
      with self.assertRaises(TypeError) as e:
          -self.d
  
      message = e.exception.args[0]
      expected = (
          "Can't apply unary operator '-' to instance of "
          "'DateFactor' with dtype 'datetime64[ns]'.\n"
          "'-' is only supported for Factors of dtype 'float64'."
      )
      self.assertEqual(message, expected)
  
imports: from itertools import permutations
  from operator import add, ge, gt, le, lt, methodcaller, mul, ne, sub
  from string import ascii_uppercase
  from unittest import TestCase
  import numpy
  from numpy import arange, array, eye, float64, full, isnan, zeros
  from pandas import DataFrame, date_range, Int64Index
  from catalyst.pipeline import Factor, Filter
  from catalyst.pipeline.expression import NumericalExpression, NUMEXPR_MATH_FUNCS
  from catalyst.testing import check_allclose
  from catalyst.utils.numpy_utils import datetime64ns_dtype, float64_dtype
label_desc: Use image node_id 9 for calling the NumericalExpressionTestCase obj's underlying member method code with example usage: obj.test_negate_datetime() without return types