class_docstr: Test remove digits.
class_docstr_tok: ["Test","remove","digits","."]
code: def test_remove_stopwords(self):
      text = "i am quite intrigued"
      text_default_preprocessed = "  quite intrigued"
      text_spacy_preprocessed = "   intrigued"
      text_custom_preprocessed = "i  quite "
  
      self.assertEqual(
          preprocessing.remove_stopwords(pd.Series(text)),
          pd.Series(text_default_preprocessed),
      )
      self.assertEqual(
          preprocessing.remove_stopwords(
              pd.Series(text), stopwords=stopwords.SPACY_EN
          ),
          pd.Series(text_spacy_preprocessed),
      )
      self.assertEqual(
          preprocessing.remove_stopwords(
              pd.Series(text), stopwords={"am", "intrigued"}
          ),
          pd.Series(text_custom_preprocessed),
      )
  
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 15 for calling the TestPreprocessing obj's underlying member method code with example usage: obj.test_remove_stopwords() without return types