[Tarantool-patches] [PATCH v3 1/5] test: convert print to function and make quotes use consistent
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed Dec 23 18:39:59 MSK 2020
Hi! Thanks for the patch!
> diff --git a/test/replication-py/swap.test.py b/test/replication-py/swap.test.py
> index 98eeeea6d..b162ae241 100644
> --- a/test/replication-py/swap.test.py
> +++ b/test/replication-py/swap.test.py
> @@ -7,26 +9,26 @@ import yaml
> REPEAT = 20
> ID_BEGIN = 0
> ID_STEP = 5
> -LOGIN = 'test'
> -PASSWORD = 'pass123456'
> +LOGIN = "test"
> +PASSWORD = "pass123456"
>
> -engines = ['memtx', 'vinyl']
> +engines = ["memtx", "vinyl"]
>
> def insert_tuples(_server, begin, end, msg = "tuple"):
> for engine in engines:
> for i in range(begin, end):
> - print 'box.space.%s:insert{%d, "%s %d"}' % (engine, i, msg, i)
> - print '-'
> + print('box.space.{}:insert{{{}, "{} {}"}}'.format(engine, i, msg, i))
Oh, noooo! There is still ' instead of " !!!
More information about the Tarantool-patches
mailing list