[IPython-dev] Looking towards 0.10...
Fernando Perez
fperez.net at gmail.com
Tue Mar 10 15:06:04 EDT 2009
Hi Jorgen,
On Tue, Mar 10, 2009 at 10:56 AM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Tue, Mar 10, 2009 at 10:45 AM, Jörgen Stenarson
> <jorgen.stenarson at bostream.nu> wrote:
>
>> The only failure left is one I can't reproduce myself because it works on my
>> ubuntu partition.
>
> I just finished a bunch of things leftover from a conference trip, and
> I'm working on it right now. I'll report back soon...
OK, I understand better what's going on. The test should indeed fail,
depending on where you run it from. The setup function in the test
suite is
def setup():
"""Setup testenvironment for the module:
- Adds dummy home dir tree
"""
try:
os.makedirs("home_test_dir/_ipython")
except WindowsError:
pass #Or should we complain that the test directory already exists??
but the failing test sets homedir below the current path. So
depending on where you are positioned in the path when you run the
test suite, this can indeed fail.
I'm fixing up the whole test suite now, because there are some other
problems, I'll post soon. But you shold be able to verify the failure
by running
iptest -vvs
from some other location in the filesystem than the ipython test directory...
Cheers,
f
More information about the IPython-dev
mailing list