def METHOD_NAME(
    self, dataset: VHR10, mock_missing_modules: None
) -> None:
    if dataset.split == "positive":
        with pytest.raises(
            ImportError,
            match="pycocotools is not installed and is required to use this datase",
        ):
            VHR10(dataset.root, dataset.split)
        with pytest.raises(
            ImportError,
            match="scikit-image is not installed and is required to plot masks",
        ):
            x = dataset[0]
            dataset.plot(x)