SILENT KILLERPanel

Current Path: > > opt > hc_python > > > lib > python3.12 > site-packages > alembic > testing


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.8
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/hc_python///lib/python3.12/site-packages/alembic/testing

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
plugin Directory - -
suite Directory - -
__init__.py File 1159 bytes April 04 2025 08:09:11.
assertions.py File 5196 bytes April 04 2025 08:09:11.
env.py File 10537 bytes April 04 2025 08:09:11.
fixtures.py File 9127 bytes April 04 2025 08:09:11.
requirements.py File 4180 bytes April 04 2025 08:09:11.
schemacompare.py File 4838 bytes April 04 2025 08:09:11.
util.py File 3350 bytes April 04 2025 08:09:11.
warnings.py File 831 bytes April 04 2025 08:09:11.

Reading 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
        )

SILENT KILLER Tool