Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

wrong quoting of text arrays

#71

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

$ nosetests tests/raw_psycopg2.py 
F
======================================================================
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/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/me/Projects/storm/tests/raw_psycopg2.py", 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)

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

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to resolved

    It is already fixed, to be released in 2.4.3.

    See this commit.

    Thank you for the report.

    October 10th, 2011 @ 05:50 PM