This project is archived and is in readonly mode.

#71 ✓resolved
Bozo Dragojevic

wrong quoting of text arrays

Reported by Bozo Dragojevic | October 9th, 2011 @ 08:45 AM

with rel-2.4.2 I get the following error when running the attached testcase:

$ nosetests tests/ 
FAIL: tests.raw_psycopg2.test_text_array_roundtrip
Traceback (most recent call last):
  File "/Users/me/Projects/storm/ggg/lib/python2.6/site-packages/nose/", line 197, in runTest
  File "/Users/me/Projects/storm/tests/", line 29, in test_text_array_roundtrip
    assert tuple(texts) == tuple(result[1]), "%r != %r"%(texts, result[1])
AssertionError: [u'{"quote": "\\""}', u'{"backslash": "\\\\"}'] != [u'{"quote": "\\\\""}', u'{"backslash": "\\\\\\\\"}']

Ran 1 test in 0.011s

FAILED (failures=1)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="">the new tracker</a>.
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins