code: def testAssertNotRegex(self):
      self.assertNotRegex("Ala ma kota", r"r+")
      try:
          self.assertNotRegex("Ala ma kota", r"k.t", "Message")
      except self.failureException as e:
          self.assertIn("Message", e.args[0])
      else:
          self.fail("assertNotRegex should have failed.")
  
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 5 for calling the Test_Assertions obj's underlying member method code with example usage: obj.testAssertNotRegex() without return types