diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2019-11-09 16:21:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2019-11-09 16:21:55 +0000 |
| commit | ed2c5f9ad1f92010e447797576ab4eef3beee21f (patch) | |
| tree | 6e39e7366de4ac2fbb6a98e4e5938e33f34422a4 /lib/sqlalchemy/testing/config.py | |
| parent | 4a2dd4902a1168234f14bdd0634728086d53c406 (diff) | |
| parent | 3a0e0531c179e598c345e5be24e350c375ce7e22 (diff) | |
| download | sqlalchemy-ed2c5f9ad1f92010e447797576ab4eef3beee21f.tar.gz | |
Merge "Support for generated columns"
Diffstat (limited to 'lib/sqlalchemy/testing/config.py')
| -rw-r--r-- | lib/sqlalchemy/testing/config.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/config.py b/lib/sqlalchemy/testing/config.py index 87bbc6a0f..8262142ec 100644 --- a/lib/sqlalchemy/testing/config.py +++ b/lib/sqlalchemy/testing/config.py @@ -44,7 +44,7 @@ def combinations(*comb, **kw): well as if it is included in the tokens used to create the id of the parameter set. - If omitted, the argment combinations are passed to parametrize as is. If + If omitted, the argument combinations are passed to parametrize as is. If passed, each argument combination is turned into a pytest.param() object, mapping the elements of the argument tuple to produce an id based on a character value in the same position within the string template using the @@ -59,9 +59,12 @@ def combinations(*comb, **kw): r - the given argument should be passed and it should be added to the id by calling repr() - s- the given argument should be passed and it should be added to the + s - the given argument should be passed and it should be added to the id by calling str() + a - (argument) the given argument should be passed and it should not + be used to generated the id + e.g.:: @testing.combinations( |
