[PATCH] Fix TestPkgRelations failures with python3.
Stuart Prescott
stuart at debian.org
Sat Aug 30 14:14:00 UTC 2014
Hi John,
> The real implementation of assertWarns performs an iteration over
> sys.modules.values(), which breaks because somehow the size of
> sys.modules changes during the iteration. I can't find where this
> is happening (my best guess is there is some parallelism I can't find,
> but even that is looking unlikely). For now, overriding the real
> implementation with our own fixes the test failure.
It's not clear to me what this change is fixing -- is the test suite failing
for you under some version of python? It passes for me with python3 from
wheezy and various versions that have been in sid and also works fine on
ci.debian.net so I'm not quite sure what's happening here.
cheers
Stuart
--
Stuart Prescott http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer http://www.debian.org/ stuart at debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
More information about the pkg-python-debian-maint
mailing list