class_docstr: Tests of PyArray_SortkindConverter 
class_docstr_tok: ["Tests","of","PyArray_SortkindConverter"]
code: def test_valid(self):
      self._check("quicksort", "NPY_QUICKSORT")
      self._check("heapsort", "NPY_HEAPSORT")
      self._check("mergesort", "NPY_STABLESORT")  # alias
      self._check("stable", "NPY_STABLESORT")
  
imports: import re
  import sys
  import pytest
  import numpy
  import numpy.core._multiarray_tests
  from numpy.testing import assert_warns, IS_PYPY
label_desc: Use image node_id 1 for calling the TestSortkindConverter obj's underlying member method code with example usage: obj.test_valid() without return types