def METHOD_NAME(
    self, tmp_path: Path, test_file: str, line_no: int
) -> None:
    test_file_path = UNICODE_TESTS / test_file
    target = shutil.copy(
        test_file_path, tmp_path / test_file.replace(".txt", ".py")
    )
    # Fake node as otherwise we get syntax errors etc...
    # So currently the UTF-16/UTF-32 tests does not work, as UTF-16 / UTF-32
    # is not really working at all in in Python, but checking it now already
    # is future save in case that changes....
    module = FakeNode(Path(target).read_bytes())
    with self.assertAddsMessages(
        pylint.testutils.MessageTest(
            msg_id="invalid-unicode-codec",
            confidence=pylint.interfaces.HIGH,
            # node=module,
            line=line_no,
            end_line=1,
            col_offset=None,
            end_col_offset=None,
        ),
        pylint.testutils.MessageTest(
            msg_id="bidirectional-unicode",
            confidence=pylint.interfaces.HIGH,
            # node=module,
            line=line_no + 2,
            end_line=line_no + 2,
            col_offset=0,
            end_col_offset=37,
        ),
    ):
        self.checker.process_module(cast(nodes.Module, module))