On Fri, Dec 7, 2012 at 3:52 PM, John Szakmeister <
jo...@szakmeister.net> wrote:
[snip]
> Today, I've been working on #566 (python 3.3 test failures). Some of
> the output in Python 3.3 has changed slightly, which was breaking some
> doctests. I fixed a few doctests, but there are a couple more that
> need fixing. In this case, the ImportError string has changed from:
>
> ImportError: No module named apackagethatdoesntexist
>
> to:
>
> ImportError: No module named 'apackagethatdoesntexist'
I've got this fixed now.
> The other is a recursion depth problem. I haven't managed to get to
> the bottom of that problem yet, but I hope to soon.
I'm getting closer on this one, but it's kind of nasty. There seems
to be something bad triggering between
"functional_tests/test_buggy_generators.py" and
"functional_tests/test_namespace_pkg.py". The latter is what dies
from exceeding the recursion depth, but it doesn't exhibit the problem
when run on its own. If you run test_buggy_generators with it though,
the two together cause the problem to surface. It's not clear to me
what the bad interaction is though. One weird problem that I see is
that log statements start getting repeated multiple times, when I
turned on debug logging in nose/loader.py (where the test dies). At
first, it's expected once per execution. But then it picks up, and
then it's two, then three... all the way up to 14 times per logging
statement. It's really strange.
FWIW, I've been running nose in a Python 3.3 virtualenv, with this command line:
python3.3 setup.py build_tests && \
python3.3 selftest.py functional_tests/test_buggy_generators.py \
functional_tests/test_namespace_pkg.py
I put my branch on GitHub:
<
https://github.com/jszakmeister/nose/tree/python-3.3-fixes>
It's based on the 1.3.0-candidate branch I'm putting together:
<
https://github.com/jszakmeister/nose/tree/1.3.0-candidate>
The good news is that this is the only Python 3.3 error left. :-)
-John