Show More
@@ -453,8 +453,9 b' def test_get_ipython_module_path():' | |||||
453 | def test_get_long_path_name_win32(): |
|
453 | def test_get_long_path_name_win32(): | |
454 | with TemporaryDirectory() as tmpdir: |
|
454 | with TemporaryDirectory() as tmpdir: | |
455 |
|
455 | |||
456 | # Make a long path. |
|
456 | # Make a long path. Expands the path of tmpdir prematurely to make sure only the | |
457 | long_path = os.path.join(tmpdir, u'this is my long path name') |
|
457 | # last part is different later on. | |
|
458 | long_path = os.path.join(path.get_long_path_name(tmpdir), u'this is my long path name') | |||
458 | os.makedirs(long_path) |
|
459 | os.makedirs(long_path) | |
459 |
|
460 | |||
460 | # Test to see if the short path evaluates correctly. |
|
461 | # Test to see if the short path evaluates correctly. |
General Comments 0
You need to be logged in to leave comments.
Login now