Browse Source

fix: catch startup deprecated warning

pull/13259/head
z0z0r4 3 weeks ago
parent
commit
04a32e897f
No known key found for this signature in database GPG Key ID: 448EF3037425FD6A
  1. 4
      tests/test_tutorial/test_testing/test_tutorial003.py

4
tests/test_tutorial/test_testing/test_tutorial003.py

@ -1,5 +1,7 @@
from docs_src.app_testing.tutorial003 import test_read_items
import pytest
def test_main():
with pytest.warns(DeprecationWarning):
from docs_src.app_testing.tutorial003 import test_read_items
test_read_items()
Loading…
Cancel
Save