code: def test_no_sklearn(mock_no_sklearn):
      with pytest.raises(
          ModuleNotFoundError,
          match=r"This contrib module requires scikit-learn to be installed.",
      ):
          y = torch.tensor([1, 1])
          pr_curve = PrecisionRecallCurve()
          pr_curve.update((y, y))
          pr_curve.compute()
  
imports: import os
  from typing import Tuple
  from unittest.mock import patch
  import numpy
  import pytest
  import sklearn
  import torch
  from sklearn.metrics import precision_recall_curve
  import ignite.distributed
  from ignite.contrib.metrics.precision_recall_curve import PrecisionRecallCurve
  from ignite.engine import Engine
  from ignite.metrics.epoch_metric import EpochMetricWarning
label_desc: Use image node_id 2 for calling a global function with example usage: test_no_sklearn(mock_no_sklearn) without return types