$80 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/alembic/testing/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/alembic/testing//warnings.py
# testing/warnings.py
# Copyright (C) 2005-2021 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php


import warnings

from sqlalchemy import exc as sa_exc

from ..util import sqla_14


def setup_filters():
    """Set global warning behavior for the test suite."""

    warnings.resetwarnings()

    warnings.filterwarnings("error", category=sa_exc.SADeprecationWarning)
    warnings.filterwarnings("error", category=sa_exc.SAWarning)

    # some selected deprecations...
    warnings.filterwarnings("error", category=DeprecationWarning)
    if not sqla_14:
        # 1.3 uses pkg_resources in PluginLoader
        warnings.filterwarnings(
            "ignore",
            "pkg_resources is deprecated as an API",
            DeprecationWarning,
        )
    try:
        import pytest
    except ImportError:
        pass
    else:
        warnings.filterwarnings(
            "once", category=pytest.PytestDeprecationWarning
        )


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__pycache__
--
11 Feb 2026 9.30 AM
root / root
0755
plugin
--
11 Feb 2026 9.30 AM
root / root
0755
suite
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.py
1.132 KB
20 Jan 2026 1.01 PM
root / root
0644
assertions.py
4.9 KB
20 Jan 2026 1.01 PM
root / root
0644
env.py
10.505 KB
20 Jan 2026 1.01 PM
root / root
0644
fixtures.py
8.9 KB
20 Jan 2026 1.01 PM
root / root
0644
requirements.py
4.816 KB
20 Jan 2026 1.01 PM
root / root
0644
schemacompare.py
4.429 KB
20 Jan 2026 1.01 PM
root / root
0644
util.py
3.271 KB
20 Jan 2026 1.01 PM
root / root
0644
warnings.py
1.053 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF