aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-04-07 16:17:34 -0400
committerYury Selivanov <yury@magic.io>2018-04-07 16:17:34 -0400
commit771954f43c70d3ba6546fafcaec40ba59a7c1d44 (patch)
tree681292cee5b3b12c88fdd5b2ef743f0e0fb630d9 /tests
parent40495427c5b1c6f42faec5b4b6418228aa6247c6 (diff)
downloadimmutables-771954f43c70d3ba6546fafcaec40ba59a7c1d44.tar.gz
immutables-771954f43c70d3ba6546fafcaec40ba59a7c1d44.zip
pymap: Streamline .assoc() method
Diffstat (limited to 'tests')
-rw-r--r--tests/test_map.py2
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)