code: def test_installed_dependency_but_incorrect_version(self):
      def test_inner():
          require_dependencies("datasets<1.0.0")
          return True
  
      # This method should fail, as our dependencies require a higher version of datasets
      with pytest.raises(
          ImportError,
          match=f"but found datasets==.*?You can install a supported version of 'datasets' with this command: `pip install -U datasets<1.0.0`",
      ):
          test_inner()
  
file_path: argilla/tests/unit/utils/test_dependency.py
imports: import importlib
  import sys
  from typing import Any, List
  import pytest
  from argilla.utils.dependency import is_package_with_extras_installed, require_dependencies, requires_dependencies
label_desc: Use image node_id 3 for calling the TestDependencyRequirements obj's underlying member method code with example usage: obj.test_installed_dependency_but_incorrect_version() and returns: True