diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-06-28 11:59:34 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-05 22:19:46 -0400 |
commit | 30885744142d89740d459f4dae670ba4775d1d8c (patch) | |
tree | 0fdd30c0c96778029a48414195f95c5b1fdba30c /test/base/test_utils.py | |
parent | c7b489b25802f7a25ef78d0731411295c611cc1c (diff) | |
download | sqlalchemy-30885744142d89740d459f4dae670ba4775d1d8c.tar.gz |
Documentation updates for 1.4
* major additions to 1.4 migration doc; removed additional
verbosity regarding caching methodology and reorganized the
doc to present itself more as a "what's changed" guide
* as we now have a path for asyncio, update that doc so that
we aren't spreading obsolete information
* updates to the 2.0 migration guide with latest info, however
this is still an architecture doc and not a migration guide
yet, will need further rework.
* start really talking about 1.x vs. 2.0 style everywhere. Querying
is most of the docs so this is going to be a prominent
theme, start getting it to fit in
* Add introductory documentation for ORM example sections as these
are too sparse
* new documentation for do_orm_execute(), many separate sections,
adding deprecation notes to before_compile() and similar
* new example suites to illustrate do_orm_execute(),
with_loader_criteria()
* modernized horizontal sharding examples and added a separate
example to distinguish between multiple databases and single
database w/ multiple tables use case
* introducing DEEP ALCHEMY, will use zzzeeksphinx 1.1.6
* no name for the alchemist yet however the dragon's name
is Flambé
Change-Id: Id6b5c03b1ce9ddb7b280f66792212a0ef0a1c541
Diffstat (limited to 'test/base/test_utils.py')
-rw-r--r-- | test/base/test_utils.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/base/test_utils.py b/test/base/test_utils.py index bba0cc16c..d5dece9a6 100644 --- a/test/base/test_utils.py +++ b/test/base/test_utils.py @@ -187,6 +187,15 @@ class ImmutableDictTest(fixtures.TestBase): eq_(d, {1: 2, 3: 4}) eq_(d2, {1: 2, 3: 5, 7: 12}) + def _dont_test_union_kw(self): + d = util.immutabledict({"a": "b", "c": "d"}) + + d2 = d.union(e="f", g="h") + assert isinstance(d2, util.immutabledict) + + eq_(d, {"a": "b", "c": "d"}) + eq_(d2, {"a": "b", "c": "d", "e": "f", "g": "h"}) + def test_union_tuples(self): d = util.immutabledict({1: 2, 3: 4}) |