<filename>tests/test_exceptions.py<gh_stars>10-100
import pytest

from pynhd import InvalidInputRange, MissingItems


def missing_items():
    raise MissingItems(["tmin", "dayl"])


def test_missing_items():
    with pytest.raises(MissingItems):
        missing_items()

<filename>tests/test_exceptions.py<gh_stars>10-100
import pytest

from pynhd import InvalidInputRange, MissingItems


def missing_items():
    raise MissingItems(["tmin", "dayl"])


def test_missing_items():
    with pytest.raises(MissingItems):
        missing_items()
