diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-04 19:18:57 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-04 19:18:57 -0500 |
| commit | 1ab483ac5481cb60e898f0bfdad54e5ca45bbb80 (patch) | |
| tree | da401d91f98b9d59035c27c0f056bf9bd83ce0a5 /lib/sqlalchemy/testing/__init__.py | |
| parent | 380f4389922004589bfa7cb4f9b8c8208aa68659 (diff) | |
| download | sqlalchemy-1ab483ac5481cb60e898f0bfdad54e5ca45bbb80.tar.gz | |
Introduce lambda combinations
As the ORM's combinatoric tests mostly use entities and
table metadata that's defined in fixtures, we can't use
@testing.combinations directly as it takes place at the
module level. Instead we use lambdas, but to reduce
verbosity we use a code replacement so that the namespace
of the lambda can be provided at runtime rather than
module import time.
Change-Id: Ia63a510f9c1d08b055eef62cf047f1f427f0450c
Diffstat (limited to 'lib/sqlalchemy/testing/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/testing/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/__init__.py b/lib/sqlalchemy/testing/__init__.py index a1f4b12ba..e7bb0a6a6 100644 --- a/lib/sqlalchemy/testing/__init__.py +++ b/lib/sqlalchemy/testing/__init__.py @@ -56,6 +56,7 @@ from .util import flag_combinations # noqa from .util import force_drop_names # noqa from .util import metadata_fixture # noqa from .util import provide_metadata # noqa +from .util import resolve_lambda # noqa from .util import rowset # noqa from .util import run_as_contextmanager # noqa from .util import teardown_events # noqa |
