Hello,
I'm getting this error when testing with Python 3.2:
Traceback (most recent call last):
File "./setup.py", line 274, in <module>
classifiers = classifiers,
File "/usr/lib64/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "./setup.py", line 170, in run
sympy.utilities.runtests.run_all_tests()
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/utilities/runtests.py",
line 169, in run_all_tests
if not doctest(*doctest_args, **doctest_kwargs):
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/utilities/runtests.py",
line 411, in doctest
failed = not t.test()
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/utilities/runtests.py",
line 806, in test
self.test_file(f)
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/utilities/runtests.py",
line 829, in test_file
module = pdoctest._normalize_module(module)
File "/usr/lib64/python3.2/doctest.py", line 205, in _normalize_module
return __import__(module, globals(), locals(), ["*"])
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/examples/beginner/plot_examples.py",
line 15, in <module>
b = plot(expr, (x, 2, 4), show=False) # cartesian plot
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/plotting/plot.py",
line 335, in plot
list_of_plots = [Tuple(*add_variables_and_ranges(pl)) for pl in
list_of_plots]
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/plotting/plot.py",
line 335, in <listcomp>
list_of_plots = [Tuple(*add_variables_and_ranges(pl)) for pl in
list_of_plots]
File
"/home/scolobb/Dropbox/prj/python/sympy/py3k-sympy/sympy/plotting/plot.py",
line 316, in add_variables_and_ranges
free_vars = reduce(set.union, [expr.free_symbols for expr in pl
NameError: global name 'pl' is not defined
I run this in my branch and I cannot test the same thing in master
right now, but I believe the problem is related to the plotting
module.
Could anyone confirm this error?
Sergiu
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.