code: def test_bold_formatting(self):
      input_text = r"This is \bm{bold} text."
      expected_output = r"This is \mathbf{bold} text."
      self.assertEqual(markdown_compatible(input_text), expected_output)
  
imports: import unittest
  from transformers import NougatTokenizerFast
  from transformers.models.nougat.tokenization_nougat_fast import markdown_compatible, normalize_list_like_lines
  from transformers.testing_utils import require_levenshtein, require_nltk, require_tokenizers
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 3 for calling the MarkdownCompatibleTest obj's underlying member method code with example usage: obj.test_bold_formatting() without return types