You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the following error when running examples with python2.4: $ python2.4 examples/diffusion/steadyState/mesh1D/input.py Traceback (most recent call last): File &examples/diffusion/steadyState/mesh1D/input.py&, line 204, in ? exec(fipy.tests.doctestPlus.getScript()) File &/home/skupskyr/python/fipy/fipy/tests/doctestPlus.py&, line 50, in getScript return doctest.testsource(sys.modules.get(name), &&) File &/usr/local/lib/python2.4/doctest.py&, line 2510, in testsource raise ValueError(name, ¬ found in tests&) ValueError: ('', 'not found in tests')
Imported from trac ticket #26, created by nobody on 02-10-2005 at 16:18, last modified: 03-29-2005 at 16:49
The text was updated successfully, but these errors were encountered:
Logged In: YES user_id=121894 There were a couple of problems. The syntax for doctest.testsource() changed significantly between Python 2.3 and 2.4; a blank name no longer equates to the module as a whole. Secondly, doctest no longer strips out comments, and the returned script doesn't always end in '\n', which is documented to be required by compile() (although not by exec). Filed a Python bug: <http://sourceforge.net/tracker/index.php? func=detail&aid=1172785&group_id=5470&atid=105470>
Imported from trac ticket #26, created by nobody on 02-10-2005 at 16:18, last modified: 03-29-2005 at 16:49
The text was updated successfully, but these errors were encountered: