Show More
@@ -21,10 +21,10 b' import warnings' | |||
|
21 | 21 | from hashlib import md5 |
|
22 | 22 | |
|
23 | 23 | import IPython |
|
24 | from IPython.testing.skipdoctest import skip_doctest | |
|
24 | 25 | from IPython.utils.process import system |
|
25 | 26 | from IPython.utils.importstring import import_item |
|
26 | 27 | from IPython.utils import py3compat |
|
27 | ||
|
28 | 28 | #----------------------------------------------------------------------------- |
|
29 | 29 | # Code |
|
30 | 30 | #----------------------------------------------------------------------------- |
@@ -40,7 +40,7 b' def _writable_dir(path):' | |||
|
40 | 40 | return os.path.isdir(path) and os.access(path, os.W_OK) |
|
41 | 41 | |
|
42 | 42 | if sys.platform == 'win32': |
|
43 | @py3compat.u_format | |
|
43 | @skip_doctest | |
|
44 | 44 | def _get_long_path_name(path): |
|
45 | 45 | """Get a long path name (expand ~) on Windows using ctypes. |
|
46 | 46 | |
@@ -48,7 +48,7 b" if sys.platform == 'win32':" | |||
|
48 | 48 | -------- |
|
49 | 49 | |
|
50 | 50 | >>> get_long_path_name('c:\\docume~1') |
|
51 |
|
|
|
51 | u'c:\\\\Documents and Settings' | |
|
52 | 52 | |
|
53 | 53 | """ |
|
54 | 54 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now