(self)
| 219 | q.get(1, timeout=-1) |
| 220 | |
| 221 | def test_nowait(self): |
| 222 | q = self.type2test(QUEUE_SIZE) |
| 223 | for i in range(QUEUE_SIZE): |
| 224 | q.put_nowait(1) |
| 225 | with self.assertRaises(self.queue.Full): |
| 226 | q.put_nowait(1) |
| 227 | |
| 228 | for i in range(QUEUE_SIZE): |
| 229 | q.get_nowait() |
| 230 | with self.assertRaises(self.queue.Empty): |
| 231 | q.get_nowait() |
| 232 | |
| 233 | def test_shrinking_queue(self): |
| 234 | # issue 10110 |
nothing calls this directly
no test coverage detected