mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-28 03:26:01 -04:00
d7ceb63c94
un-adjusted internal symbol names for "anonymous" labels, which are the "foo_1" types of labels we see generated for SQL functions without labels and similar. This was a side effect of the performance enhancements implemented as part of references #918. fixes #3483
37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
# testing/__init__.py
|
|
# Copyright (C) 2005-2015 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
|
|
|
|
|
|
from .warnings import assert_warnings
|
|
|
|
from . import config
|
|
|
|
from .exclusions import db_spec, _is_excluded, fails_if, skip_if, future,\
|
|
fails_on, fails_on_everything_except, skip, only_on, exclude, \
|
|
against as _against, _server_version, only_if, fails
|
|
|
|
|
|
def against(*queries):
|
|
return _against(config._current, *queries)
|
|
|
|
from .assertions import emits_warning, emits_warning_on, uses_deprecated, \
|
|
eq_, ne_, le_, is_, is_not_, startswith_, assert_raises, \
|
|
assert_raises_message, AssertsCompiledSQL, ComparesTables, \
|
|
AssertsExecutionResults, expect_deprecated, expect_warnings, \
|
|
in_, not_in_
|
|
|
|
from .util import run_as_contextmanager, rowset, fail, \
|
|
provide_metadata, adict, force_drop_names, \
|
|
teardown_events
|
|
|
|
crashes = skip
|
|
|
|
from .config import db
|
|
from .config import requirements as requires
|
|
|
|
from . import mock
|