class_docstr: Test remove digits.
class_docstr_tok: ["Test","remove","digits","."]
code: def test_replace_digits_any(self):
      s = pd.Series("1234 falcon9")
      s_true = pd.Series("X falconX")
      self.assertEqual(
          preprocessing.replace_digits(s, "X", only_blocks=False),
          s_true,
      )
  
imports: import string
  import pytest
  import pandas
  import numpy
  import doctest
  from texthero import preprocessing, stopwords
  from .None import PandasTestCase
  import warnings
label_desc: Use image node_id 9 for calling the TestPreprocessing obj's underlying member method code with example usage: obj.test_replace_digits_any() without return types