##// END OF EJS Templates
Merging Fernando's fixes from his trunk-dev and fixing testing things....
Merging Fernando's fixes from his trunk-dev and fixing testing things. I have merged his changes with a few modifications. I have also removed IPython.kernel from the list of packages that nose will test.

File last commit:

r856:50044c43
r1973:5d4c3105 merge
Show More
test_cd.ipy
18 lines | 289 B | text/plain | TextLexer
# assumes there is /tmp and /opt
def curpath():
cwd = os.path.splitdrive(os.getcwd())[1].replace('\\','/')
print cwd
return cwd
import os
cd /
assert curpath() == '/'
%cd /tmp
assert curpath() == '/tmp'
pushd /opt
assert curpath() == '/opt'
popd
assert curpath() == '/tmp'