from typing import Dict
from typing import Set
from pathlib import Path


def _expected_failing_examples(gallery_conf: Dict, mkdocs_conf: Dict) -> Set[Path]:
    """The set of expected failing examples"""
    return set((Path(mkdocs_conf['docs_dir']) / path)
               for path in gallery_conf['expected_failing_examples'])