code: def test_check_inf(self) -> None:
      rng = np.random.default_rng(1994)
      check_inf(rng)
  
imports: from typing import Any, Dict, List
  import numpy
  import pytest
  from hypothesis import given, settings, strategies
  from scipy import sparse
  import xgboost
  from xgboost.testing import IteratorForTest, make_batches, make_batches_sparse, make_categorical, make_ltr, make_sparse_regression, predictor_equal
  from xgboost.testing.data import check_inf, np_dtypes
  from xgboost.testing.data_iter import run_mixed_sparsity
label_desc: Use image node_id 10 for calling the TestQuantileDMatrix obj's underlying member method code with example usage: obj.test_check_inf() without return types