← Back to team overview

dolfin team mailing list archive

Re: runpy.run_path missing on buildbot

 

On Tue, Nov 08, 2011 at 09:13:20AM +0100, Johannes Ring wrote:
> On Mon, Nov 7, 2011 at 9:12 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> > On Sat, Nov 05, 2011 at 06:02:05PM +0100, Johannes Ring wrote:
> >> On Sat, Nov 5, 2011 at 2:50 AM, Anders Logg <logg@xxxxxxxxx> 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?
>
> Can you use execfile?

ok, I'll try.

--
Anders


References