$70 GRAYBYTE WORDPRESS FILE MANAGER $41

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.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/hc_python/lib/python3.12/site-packages/alembic/testing/

HOME
Current File : /opt/hc_python/lib/python3.12/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


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)
    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
..
--
4 Apr 2025 8.03 AM
root / root
0755
__pycache__
--
4 Apr 2025 8.03 AM
root / root
0755
plugin
--
4 Apr 2025 8.03 AM
root / root
0755
suite
--
4 Apr 2025 8.03 AM
root / root
0755
__init__.py
1.132 KB
4 Apr 2025 8.03 AM
root / root
0644
assertions.py
5.074 KB
4 Apr 2025 8.03 AM
root / root
0644
env.py
10.29 KB
4 Apr 2025 8.03 AM
root / root
0644
fixtures.py
8.913 KB
4 Apr 2025 8.03 AM
root / root
0644
requirements.py
4.082 KB
4 Apr 2025 8.03 AM
root / root
0644
schemacompare.py
4.725 KB
4 Apr 2025 8.03 AM
root / root
0644
util.py
3.271 KB
4 Apr 2025 8.03 AM
root / root
0644
warnings.py
0.812 KB
4 Apr 2025 8.03 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF