code: def test_invalid_method_call(self):
      code = """
  def np_asarray7(sRate=44100):
      import numpy as np
      x = np.expand_dims(np.ones(sRate),-1)
      x = np.maximum(np.minimum(x,.5),-.5).asarray()  # asarray is not a method
      return x"""
      with self.assertRaises(pythran.syntax.PythranSyntaxError):
          self.run_test(code, 30, np_asarray7=[int])
  
imports: import pythran
  from pythran.tests import TestEnv
  import numpy
  from tempfile import mkstemp
  import unittest
  from pythran.typing import List, Set, Dict, NDArray
label_desc: Use image node_id 24 for calling the TestNormalizeMethods obj's underlying member method code with example usage: obj.test_invalid_method_call() without return types