code: def pytest_runtest_teardown(item, nextitem):
      current_device = cuda_utils.get_current_device()
      assert current_device is None or current_device == 0
  
imports: import pytest
  import chainerx.testing
  from chainerx_tests import cuda_utils
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_runtest_teardown(item, nextitem) without return types