ycdemo / fastapi / tests/ test_tutorial/ test_testing/ test_tutorial003.py

import pytest


def test_main():
    with pytest.warns(DeprecationWarning):
        from docs_src.app_testing.tutorial003_py310 import test_read_items
    test_read_items()