17 Mar
2009
17 Mar
'09
14:50
On Tue, Mar 17, Jan Blunck wrote:
What would make sense would be:
def test_pool_iterate: for s in self.pool: assert s.pool() == self.pool
That must read as follows: assert str(s.pool()) == str(self.pool) SWIG is creating proxy objects for the real pool. Since the address of the pool is included in the string representation this actually works. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org