Lines Matching refs:push
126 c.push(b"hello ")
127 c.push(b"world" + term)
128 c.push(b"I'm not dead yet!" + term)
129 c.push(SERVER_QUIT)
159 c.push(data)
160 c.push(SERVER_QUIT)
179 c.push(data)
180 c.push(SERVER_QUIT)
212 c.push(b"hello world\n\nI'm not dead yet!\n")
213 c.push(SERVER_QUIT)
224 c.push(b"hello world\nI'm not dead yet!\n")
225 c.push(SERVER_QUIT)
243 # Issue #12523: push() should raise a TypeError if it doesn't get
248 c.push(data)
249 c.push(bytearray(data))
250 c.push(memoryview(data))
251 self.assertRaises(TypeError, c.push, 10)
252 self.assertRaises(TypeError, c.push, 'unicode')
253 c.push(SERVER_QUIT)