class_docstr: InputSeries.
class_docstr_tok: ["InputSeries","."]
code: def test_inputseries_correct_type_first_value_is_nan_TextSeries(self):
      @_types.InputSeries(_types.TextSeries)
      def f(s):
          pass
  
      try:
          f(pd.Series([np.nan, pd.NA, "I'm a TextSeries"]))
      except TypeError:
          self.fail("Failed although input type is correct.")
  
file_path: texthero/tests/test_types.py
imports: import pandas
  import numpy
  from .None import PandasTestCase
  import doctest
  import unittest
  from texthero import _types
label_desc: Use image node_id 7 for calling the TestTypes obj's underlying member method code with example usage: obj.test_inputseries_correct_type_first_value_is_nan_TextSeries() without return types