On Sat, Nov 05, 2011 at 06:02:05PM +0100, Johannes Ring wrote: > On Sat, Nov 5, 2011 at 2:50 AM, Anders Logg <l...@simula.no> wrote: > > Some unit tests are failing on my buildbot because runpy.run_path is > > missing. > > > > It seems it was added in Python 2.5. > > It was added in Python 2.7 according to the Python docs: > > http://docs.python.org/library/runpy.html#runpy.run_path
ok, does anyone know what the proper replacement is for Python 2.5? > > Which version of Python is > > running on the buildbot? > > It is Python 2.6 on your buildbot (lucid-amd64). > > > Another unit test is crashing with some VTK error. Any idea why? I > > thought DOLFIN_NOPLOT was set on the buildbots so that plotting should > > be safe in the unit tests. I might as well remove the plotting from > > the unit tests but I'm curious about why it's failing. > > The buildbot does not set this, but we use os.putenv('DOLFIN_NOPLOT', > '1') in test/regression/test.py and I guess we can do the same in > test/unit/test,py. ok, but it's probably better that I disable the plotting in the unit tests. -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp