(self)
| 43 | class IteratorTest(test.TestCase): |
| 44 | |
| 45 | def testBasic(self): |
| 46 | got = [] |
| 47 | for t in datasets.Iterator(dataset_ops.Dataset.range(4)): |
| 48 | got.append(t.numpy()) |
| 49 | self.assertAllEqual([0, 1, 2, 3], got) |
| 50 | |
| 51 | def testBasicOneShotIterator(self): |
| 52 | got = [] |
nothing calls this directly
no test coverage detected