code: def test_conv_intp(install_temp):
      import checks
  
      class myint:
          def __int__(self):
              return 3
  
      # These conversion passes via `__int__`, not `__index__`:
      assert checks.conv_intp(3.0) == 3
      assert checks.conv_intp(myint()) == 3
  
imports: from datetime import datetime
  import os
  import shutil
  import subprocess
  import sys
  import time
  import pytest
  import numpy
  from numpy.testing import IS_WASM
label_desc: Use image node_id 11 for calling a global function with example usage: test_conv_intp(install_temp) and returns: int