@mark_requirement(Requirements.DATUM_GENERAL_REQ)
def test_root_path(self):
    provided_root = None

    def detect(context):
        nonlocal provided_root
        provided_root = context.root_path
    apply_format_detector(self._dataset_root, detect)
    self.assertEqual(provided_root, self._dataset_root)
@mark_requirement(Requirements.DATUM_GENERAL_REQ)
def test_root_path(self):
    provided_root = None

    def detect(context):
        nonlocal provided_root
        provided_root = context.root_path
    apply_format_detector(self._dataset_root, detect)
    self.assertEqual(provided_root, self._dataset_root)