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