class_docstr: Test that the individual asserts honour longMessage.
  This actually tests all the message behaviour for
  asserts that use longMessage.
class_docstr_tok: ["Test","that","the","individual","asserts","honour","longMessage",".","This","actually","tests","all","the","message","behaviour","for","asserts","that","use","longMessage","."]
code: def testAssertIs(self):
      self.assertMessages(
          "assertIs",
          (None, "foo"),
          [
              "^None is not 'foo'$",
              "^oops$",
              "^None is not 'foo'$",
              "^None is not 'foo' : oops$",
          ],
      )
  
imports: import datetime
  import warnings
  import weakref
  import unittest
  from test.support import gc_collect
  from itertools import product
label_desc: Use image node_id 24 for calling the TestLongMessage obj's underlying member method code with example usage: obj.testAssertIs() without return types