code: def test_foo_signature():
      assert (
          str(inspect.signature(Foo.baz))
          == "(self, bar=None, *, foobar=None)"
      )
  
imports: import inspect
  from pandas.util._decorators import deprecate_nonkeyword_arguments
  import pandas._testing
label_desc: Use image node_id 22 for calling a global function with example usage: test_foo_signature() without return types