docstr: Assert that FileCheck runs successfully.
docstr_tok: ["Assert","that","FileCheck","runs","successfully","."]
code: def assertFilecheck(self, actual, expected):
      """Assert that FileCheck runs successfully."""
      if not fw.check(actual, expected):
          self.fail(f"Got output:\n{actual}\nExpected:\n{expected}")
  
imports: from tensorflow.compiler.mlir.python.mlir_wrapper import filecheck_wrapper
  from tensorflow.compiler.tf2xla import test_ops_for_light_outside_compilation
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the LightOutsideCompilationTest obj's underlying member method code with example usage: obj.assertFilecheck(actual, expected) without return types