summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFoxygrandpa <terkel919@gmail.com>2016-09-15 19:50:27 +0300
committerFoxygrandpa <terkel919@gmail.com>2016-09-15 20:55:42 +0300
commitfa4ebb5660519161c3342b13b23c0399f31539b5 (patch)
tree1d453ed819156ec217bfe3c871286139a3b3a297 /tests
parent153a72944c80b44da957390dd37c754bbab5e3d5 (diff)
master: numbers division for int and float
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pgexecute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py
index a9ae204f..ad5b465c 100644
--- a/tests/test_pgexecute.py
+++ b/tests/test_pgexecute.py
@@ -237,7 +237,7 @@ def test_large_numbers_render_directly(executor, value):
run(executor, "create table numbertest(a numeric)")
run(executor,
"insert into numbertest (a) values ({0})".format(value))
-
+ value = format(float(value), ',g')
assert value in run(executor, "select * from numbertest", join=True)