code: def RemoveUnsupportedTests(self, test_output):
      if not SUPPORTS_DEATH_TESTS:
          test_output = RemoveMatchingTests(test_output, "DeathTest")
      if not SUPPORTS_TYPED_TESTS:
          test_output = RemoveMatchingTests(test_output, "TypedTest")
          test_output = RemoveMatchingTests(
              test_output, "TypedDeathTest"
          )
          test_output = RemoveMatchingTests(
              test_output, "TypeParamDeathTest"
          )
      if not SUPPORTS_THREADS:
          test_output = RemoveMatchingTests(
              test_output, "ExpectFailureWithThreadsTest"
          )
          test_output = RemoveMatchingTests(
              test_output, "ScopedFakeTestPartResultReporterTest"
          )
          test_output = RemoveMatchingTests(
              test_output, "WorksConcurrently"
          )
      if not SUPPORTS_STACK_TRACES:
          test_output = RemoveStackTraces(test_output)
  
      return test_output
  
imports: import difflib
  import os
  import re
  import sys
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 1 for calling the GTestOutputTest obj's underlying member method code with example usage: obj.RemoveUnsupportedTests(test_output) and returns: test_output