[Checkins] SVN: BTrees/branches/pure_python/ Coverage.

Tres Seaver cvs-admin at zope.org
Tue Dec 4 21:49:41 UTC 2012


Log message for revision 128515:
  Coverage.

Changed:
  _U  BTrees/branches/pure_python/
  U   BTrees/branches/pure_python/BTrees/tests/test__base.py

-=-
Modified: BTrees/branches/pure_python/BTrees/tests/test__base.py
===================================================================
--- BTrees/branches/pure_python/BTrees/tests/test__base.py	2012-12-04 20:46:35 UTC (rev 128514)
+++ BTrees/branches/pure_python/BTrees/tests/test__base.py	2012-12-04 21:49:40 UTC (rev 128515)
@@ -2490,12 +2490,13 @@
         self.assertEqual(result['c'], 11)
 
     def test_both_mappings_rhs_non_empty(self):
-        lhs = self._makeMapping({'a': 13, 'b': 12, 'c': 11})
-        rhs = self._makeMapping({'b': 22})
+        lhs = self._makeMapping({'a': 13, 'b': 12, 'c': 11, 'f': 10})
+        rhs = self._makeMapping({'b': 22, 'e': 37})
         result = self._callFUT(lhs.__class__, lhs, rhs)
-        self.assertEqual(list(result), ['a', 'c'])
+        self.assertEqual(list(result), ['a', 'c', 'f'])
         self.assertEqual(result['a'], 13)
         self.assertEqual(result['c'], 11)
+        self.assertEqual(result['f'], 10)
 
 
 class Test_union(unittest.TestCase, _SetObBase):



More information about the checkins mailing list