(self)
| 1008 | print "pattern.db.Datasheet.copy()" |
| 1009 | |
| 1010 | def test_map(self): |
| 1011 | # Assert Datasheet.map() (in-place). |
| 1012 | v = db.Datasheet(rows=[[1,2],[3,4]]) |
| 1013 | v.map(lambda x: x+1) |
| 1014 | self.assertEqual(v, [[2,3],[4,5]]) |
| 1015 | print "pattern.db.Datasheet.map()" |
| 1016 | |
| 1017 | def test_json(self): |
| 1018 | # Assert JSON output. |