diff options
author | Yury Selivanov <yury@magic.io> | 2018-04-07 16:17:34 -0400 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2018-04-07 16:17:34 -0400 |
commit | 771954f43c70d3ba6546fafcaec40ba59a7c1d44 (patch) | |
tree | 681292cee5b3b12c88fdd5b2ef743f0e0fb630d9 /tests/test_map.py | |
parent | 40495427c5b1c6f42faec5b4b6418228aa6247c6 (diff) | |
download | immutables-771954f43c70d3ba6546fafcaec40ba59a7c1d44.tar.gz immutables-771954f43c70d3ba6546fafcaec40ba59a7c1d44.zip |
pymap: Streamline .assoc() method
Diffstat (limited to 'tests/test_map.py')
-rw-r--r-- | tests/test_map.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_map.py b/tests/test_map.py index c64258d..660f742 100644 --- a/tests/test_map.py +++ b/tests/test_map.py @@ -455,7 +455,9 @@ class BaseMapTest: h = h.set(D, 'd') h = h.set(E, 'e') + self.assertEqual(len(h), 5) h = h.set(C, 'c') # trigger branch in CollisionNode.assoc + self.assertEqual(len(h), 5) orig_len = len(h) |