(self)
| 394 | self.assertEqual(total_size, 2) |
| 395 | |
| 396 | def test_empty_split(self): |
| 397 | to_write = [] |
| 398 | with self.assertRaisesWithPredicateMatch( |
| 399 | AssertionError, self.EMPTY_SPLIT_ERROR |
| 400 | ): |
| 401 | shard_config = shard_utils.ShardConfig(num_shards=1) |
| 402 | self._write(to_write=to_write, shard_config=shard_config) |
| 403 | |
| 404 | def test_too_small_split(self): |
| 405 | to_write = [(1, b'a')] |
nothing calls this directly
no test coverage detected