Lines Matching refs:got
223 got = file.read(3)
224 got = got + file.read(300)
225 got = got + file.read(0)
226 got = got + file.read()
227 if got != expected:
228 raise RuntimeError, "Reading '%s' failed - got %d bytes, but expected %d bytes" % (file, len(got), len(expected))
233 got = ''
240 got = got + str(buffer[:num])
241 if got != expected:
242 raise RuntimeError, "Reading '%s' failed - got %d bytes, but expected %d bytes" % (file, len(got), len(expected))
258 got = str(test_file.read())
259 assert got == data, got
263 got = test_file.read(10) + test_file.read()
264 assert got == data, got
308 got = test_file.read()
309 print "Read %d bytes of data from %r" % (len(got), url)