summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-08-06 03:33:37 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-08-06 03:33:37 +0000
commit1d11001d8fef65ead8aad607f2aa0dff07b853e4 (patch)
treec314b02e35721cea8ae08d1edb7831a63366aa32 /test
parentc7c2bfd1363374fc48a6958e940377129a62de95 (diff)
parent30885744142d89740d459f4dae670ba4775d1d8c (diff)
downloadsqlalchemy-1d11001d8fef65ead8aad607f2aa0dff07b853e4.tar.gz
Merge "Documentation updates for 1.4"
Diffstat (limited to 'test')
-rw-r--r--test/base/test_utils.py9
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})