[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python testsuite on windows

From: Jens Peters <jpeters7677_at_gmx.de>
Date: Tue, 28 Apr 2009 21:21:20 +0200

>> Traceback (most recent call last):
>> File "subversion\bindings\swig\python\tests\client.py", line 49, in
>> testBatonP
>> lay
>> str(self.client_ctx.auth_baton))
>> AssertionError: "<libsvn.core.svn_auth_baton_t; proxy of<Swig Object of
>> type 'svn_auth_baton_t *' at 0x0000000003953780> >" !=
>> "<libsvn.core.svn_auth_baton_t;
>> proxy of<Swig Object of type 'svn_auth_baton_t *' at 0x0000000003953750> >"
>
> Those two strings look identical to me. In fact, I copied them into a
> text editor and found that they were identical. This is likely a
> peculiarity in Python 2.6. Arfrever, any idea why these two strings
> would not compare identical? Note that these are string
> representations of pointers.

The adress is different :).
0x0000000003953780 !=
0x0000000003953750

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1967417
Received on 2009-04-28 21:21:54 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.