Hello Senthil, > + raise TypeError("data should be byte-like object\
Should be "bytes-like". > + request.add_unredirected_header( > + 'Content-length', '%d' % len(mv) * mv.itemsize) There is an operator precedence problem here: >>> "%d" % 4 * 5 '44444' > + """ > + file_obj = io.StringIO() > + file_obj.write("Something\nSomething\nSomething\n") > + Why is this whole thing commented out? If it wasn't, you would have seen the test failing. Thanks Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com