<reponame>riddopic/opta<gh_stars>100-1000
def pytest_configure(config) -> None:  # type: ignore
    import sys

    sys._called_from_test = True  # type: ignore


def pytest_unconfigure(config) -> None:  # type: ignore
    import sys  # This was missing from the manual

    del sys._called_from_test  # type: ignore

def pytest_configure(config) -> None:  # type: ignore
    import sys

    sys._called_from_test = True  # type: ignore


def pytest_unconfigure(config) -> None:  # type: ignore
    import sys  # This was missing from the manual

    del sys._called_from_test  # type: ignore
# type: ignore # type: ignore # type: ignore # This was missing from the manual # type: ignore