Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/t/o/tokyo-python-0.7.0/test/test_dbm.py   tokyo-python(Download)
        self._open("w")
        self.assertEqual(len(self.db), 2)
        self._add_record()
        self.assertEqual(len(self.db), 3)
 
        self._open("c")
        self.assertEqual(len(self.db), 2)
        self._add_record()
        self.assertEqual(len(self.db), 3)
 
        self._open("n")
        self.assertEqual(len(self.db), 0)
        self._add_record()
        self.assertEqual(len(self.db), 1)