class_docstr: Abstract test class for testing Fast ACUTE code.
class_docstr_tok: ["Abstract","test","class","for","testing","Fast","ACUTE","code","."]
code: def _check_file_contents(
      self,
      results_folder: str,
      file_suffix: str,
      file_regression: FileRegressionFixture,
  ):
      file_path = self._get_matching_file_path(
          results_folder=results_folder, file_suffix=file_suffix
      )
      with open(file_path) as f:
          # correct whitespace to deal with fbcode demanding disk files not
          # have many trailing newlines
          contents = f.read().rstrip("\n") + "\n"
      file_regression.check(contents=contents)
  
imports: import hashlib
  import os
  from typing import Iterable, List, Optional, Tuple, Union
  import pandas
  from pytest_regressions.data_regression import DataRegressionFixture
  from pytest_regressions.dataframe_regression import DataFrameRegressionFixture
  from pytest_regressions.file_regression import FileRegressionFixture
  from parlai.crowdsourcing.utils.tests import AbstractOneTurnCrowdsourcingTest
label_desc: Use image node_id 12 for calling the AbstractFastAcuteTest obj's underlying member method code with example usage: obj._check_file_contents(results_folder, file_suffix, file_regression) without return types