code: def test_failed_task(self):
      with self.assertRaises(GokartBuildError):
          gokart.build(
              _DummyFailedTask(),
              reset_register=False,
              log_level=logging.CRITICAL,
          )
  
imports: import logging
  import os
  import unittest
  from copy import copy
  import luigi
  import luigi.mock
  import gokart
  from gokart.build import GokartBuildError, LoggerConfig
label_desc: Use image node_id 7 for calling the RunTest obj's underlying member method code with example usage: obj.test_failed_task() without return types