Show More
@@ -302,6 +302,8 b' def test_get_ipython_dir_8():' | |||||
302 | try: |
|
302 | try: | |
303 | path._writable_dir = lambda path: bool(path) |
|
303 | path._writable_dir = lambda path: bool(path) | |
304 | path.get_xdg_dir = lambda: None |
|
304 | path.get_xdg_dir = lambda: None | |
|
305 | env.pop('IPYTHON_DIR', None) | |||
|
306 | env.pop('IPYTHONDIR', None) | |||
305 | env['HOME'] = '/' |
|
307 | env['HOME'] = '/' | |
306 | nt.assert_equal(path.get_ipython_dir(), '/.ipython') |
|
308 | nt.assert_equal(path.get_ipython_dir(), '/.ipython') | |
307 | finally: |
|
309 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now