ipython/ipython — Issue #1479: test_extension failing in Windows
Author: takluyver
Created: 2012-03-08 21:56:55+00:00
State: open
Labels: prio-low, status-active, type-bug, windows

https://jenkins.shiningpanda.com/ipython/job/ipython-windows-py27/3/testReport/junit/IPython.core.tests/test_magic/test_extension/

%install_ext uses urlparse and urlretrieve to handle a URL. On POSIX systems these handle local file paths, like the one used in the test, as well. On Windows, at least urlretrieve fails with a local path. Our code should detect this case and use `shutil.copy` (or something similar) to move the file instead.