Either I'm overlooking something obvious, or there's been a subtle bug slumbering for a while there.

The issue happens for me in runtests.py line 1003: It's calling f(), where a test function such as test_transpose had previously been assigned to f. Now it's using the globals from runtests.py, not those of the file being tested (test_transpose.py). And for some reason I haven't been able to find out yet, the transpose function is in test_transpose.py's globals but not in those of runtests.py.

What I find remarkable is that runtest.py goes to great lengths to construct that set of globals inside its gl variable, but does not submit these to the f() call.

I suspect gl should be passed in to the f() call as globals to use, but I'm not too sure whether that's indeed correct; my understanding of runtests.py is a bit too narrow to be sure of anything actually.
So... can somebody tell whether that's indeed the problem?

I'm committing the failing tests in https://github.com/sympy/sympy/pull/2535 so people can see the problem on their machines.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to