[Tarantool-patches] [PATCH 1/4] test: convert print to function and make quotes use consistent
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sun Dec 20 19:47:30 MSK 2020
> @@ -38,9 +40,9 @@ unpacker.feed(packet)
> # Parse packet
> header = unpacker.unpack()
> body = unpacker.unpack()
> -print 'error code', (header[IPROTO_CODE] & (REQUEST_TYPE_ERROR - 1))
> -print 'error message: ', body[IPROTO_ERROR]
> -print 'eof:', len(s.recv(1024)) == 0
> +print("error code {}".format((header[IPROTO_CODE] & (REQUEST_TYPE_ERROR - 1))))
> +print("error message: {}".format(body[IPROTO_ERROR]))
> +print("eof: {}".format(len(s.recv(1024)) == 0))
> s.close()
>
> server.admin("box.session.on_connect(nil, f1)")
> diff --git a/test/box-py/bootstrap.result b/test/box-py/bootstrap.result
Please, ensure no .result files are changed. They have nothing to do
with Python strings and quotes.
Currently you have changed test/box-py/bootstrap.result,
test/box-py/call.result, test/box-py/print.result,
test/replication-py/cluster.result.
Everything else looks good.
More information about the Tarantool-patches
mailing list