Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Probably attached patch will fix this issue. But this patch doesn't
cover other similar problematic codes.
It seems this is multi inheritance problem. Following code shows B.setUp
and B.tearDown are called twice respectively. (In
Tarek Ziadé ziade.ta...@gmail.com added the comment:
right, subclasses must use super if their superclasses do.
I'll apply Hirozaku patch (thanks).
I might also simplify distutil base test class to avoid Mixins.
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
applied in r69976 and r69977
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5316
___
Antoine Pitrou pit...@free.fr added the comment:
I manage to reproduce it by running test_site just after test_distutils:
./python -E -tt -m test.regrtest -uall -l -w test_distutils test_site
It could be related to test_distutils modifying an environment variable
without restoring it at the
Eric Smith e...@trueblade.com added the comment:
Trial and error shows it's test_sdist.py.
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5316
___
New submission from Antoine Pitrou pit...@free.fr:
Recently, some buildbot failures have started appearing on trunk and
py3k with the following error:
==
FAIL: test_s_option (test.test_site.HelperFunctionsTests)