def testUpdate(self):
        d1 = {1:2,3:4}
        d1.update({3:5,7:9})
        self.assertEqual(d1[3],5)
        try:
            d1.update(((3,6),(9,12)))
            self.assertEqual(d1[3],6)
        except __HOLE__:
            self.fail("Couldn't dict.update(...) with a tuple of pairs.")
dataset/ETHPy150Open anandology/pyjamas/examples/libtest/DictTest.py/DictTest.testUpdate