We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94c27e commit 8764502Copy full SHA for 8764502
tarantool/response.py
@@ -229,7 +229,7 @@ def __str__(self):
229
}, sort_keys = True, indent = 4)
230
output = []
231
for tpl in self._data:
232
- output.extend(("- ", json.dumps(tpl), "\n"))
+ output.extend(("- ", repr(tpl), "\n"))
233
if len(output) > 0:
234
output.pop()
235
return ''.join(output)
tests/suites/test_dml.py
@@ -60,7 +60,7 @@ def test_00_02_fill_space(self):
60
[i, i%5, 'tuple_'+str(i)]
61
)
62
def test_00_03_answer_repr(self):
63
- repr_str = """- [1, 1, "tuple_1"]"""
+ repr_str = """- [1, 1, 'tuple_1']"""
64
self.assertEqual(repr(self.con.select('space_1', 1)), repr_str)
65
66
def test_02_select(self):
0 commit comments