From 0a36f4ea240559fbe7aba1bf921f067aa34e88e5 2009-02-11 17:25:25 From: Jorgen Stenarson Date: 2009-02-11 17:25:25 Subject: [PATCH] skipping windows specific tests of get_home_dir on other platforms --- diff --git a/IPython/tests/test_genutils.py b/IPython/tests/test_genutils.py index 0660dda..07fcac3 100644 --- a/IPython/tests/test_genutils.py +++ b/IPython/tests/test_genutils.py @@ -101,6 +101,7 @@ with_enivronment = with_setup(setup_environment, teardown_environment) # Tests for get_home_dir # +@skip_if_not_win32 @with_enivronment def test_get_home_dir_1(): """Testcase for py2exe logic, un-compressed lib @@ -141,6 +142,7 @@ def test_get_home_dir_4(): if 'HOME' in env: del env['HOME'] nt.assert_raises(genutils.HomeDirError, genutils.get_home_dir) +@skip_if_not_win32 @with_enivronment def test_get_home_dir_5(): """Testcase $HOME is not set, os=='nt' @@ -153,6 +155,7 @@ def test_get_home_dir_5(): home_dir = genutils.get_home_dir() nt.assert_equal(home_dir, abspath(join(test_file_path, "home_test_dir"))) +@skip_if_not_win32 @with_enivronment def test_get_home_dir_6(): """Testcase $HOME is not set, os=='nt'