File: test_version_attributes.py

package info (click to toggle)
python-marshmallow 3.26.1-0.2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,280 kB
  • sloc: python: 11,513; makefile: 11; sh: 8
file content (15 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# ruff: noqa: B018
import pytest

import marshmallow


def test_version_attributes_deprecated():
    with pytest.warns(DeprecationWarning):
        marshmallow.__version__

    with pytest.warns(DeprecationWarning):
        marshmallow.__parsed_version__

    with pytest.warns(DeprecationWarning):
        marshmallow.__version_info__