(self)
| 231 | ) |
| 232 | |
| 233 | def test_nonbytes(self): |
| 234 | shuffler = shuffle.Shuffler(self.get_temp_dir(), 'split1') |
| 235 | with self.assertRaisesWithPredicateMatch(AssertionError, 'Only bytes'): |
| 236 | shuffler.add(1, 'a') |
| 237 | with self.assertRaisesWithPredicateMatch(AssertionError, 'Only bytes'): |
| 238 | shuffler.add(1, 123) |
| 239 | |
| 240 | def test_duplicate_key(self): |
| 241 | shuffler = shuffle.Shuffler(self.get_temp_dir(), 'split1') |
nothing calls this directly
no test coverage detected