syndication test fails with psycopg1 backend
This looks to have something to do with setting the timezone on the connection. My machine's time zone is one hour ahead of default settings TIME_ZONE. Other times this kind of problem has come up it would usually go away (as a workaround until the problem was identified) if the settings TIME_ZONE was set to match actual machine time zone. In this case that does not appear to make any difference.
............F..
======================================================================
FAIL: test_rss2_feed (regressiontests.syndication.tests.SyndicationFeedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\u\kmt\django\trunk\tests\regressiontests\syndication\tests.py", line 67, in test_rss2_feed
'copyright': 'Copyright (c) 2007, Sally Smith',
File "D:\u\kmt\django\trunk\tests\regressiontests\syndication\tests.py", line 25, in assertChildNodeContent
elem.getElementsByTagName(k)[0].firstChild.wholeText, v)
AssertionError: u'Thu, 03 Jan 2008 13:30:00 -0500' != 'Thu, 03 Jan 2008 13:30:00 -0600'
----------------------------------------------------------------------
Ran 15 tests in 4.726s
FAILED (failures=1)
Destroying test database 'default'...
Destroying test database 'other'...
Change History
(4)
Triage Stage: |
Unreviewed → Accepted
|
Component: |
Uncategorized → Database layer (models, ORM)
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
Closing in favor of #12998, which I believe has the more correct description. This test is failing on Windows, it's not the postgresql DB backend that is the problem here -- it just happens that the only machine I have with the old pg backend is a windows box and I had not noticed this test failing on the other backends before I saw it fail with psycopg1.