docstr: Tests that signature mismatch is not an error (when configured so).
docstr_tok: ["Tests","that","signature","mismatch","is","not","an","error","(","when","configured","so",")","."]
code: def testSigMismatchIsNotError(self):
      """Tests that signature mismatch is not an error (when configured so)."""
      np_utils.set_is_sig_mismatch_an_error(False)
  
      def np_fun(x, y=1, **kwargs):
          return
  
      # The following functions all have signature mismatches, but they shouldn't
      # throw errors when is_sig_mismatch_an_error() is False.
  
      @np_utils.np_doc(None, np_fun=np_fun)
      def f1(a):
          return
  
      def f2(x, kwargs):
          return
  
      @np_utils.np_doc(None, np_fun=np_fun)
      def f3(x, y):
          return
  
file_path: tensorflow-upstream/tensorflow/python/ops/numpy_ops/np_utils_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops.numpy_ops import np_utils
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the UtilsTest obj's underlying member method code with example usage: obj.testSigMismatchIsNotError() without return types