@skip_if_not_win32
@with_environment
def test_get_home_dir_1():
 unfrozen = path.get_home_dir()
 sys.frozen = True
 IPython.__file__ = abspath(join(HOME_TEST_DIR, 'Lib/IPython/__init__.py'))
 home_dir = path.get_home_dir()
 nt.assert_equal(home_dir, unfrozen)

@ skip_if_not_win32 @ with_environment def test_get_home_dir_1 ( ) : unfrozen = path . get_home_dir ( ) sys . frozen = True IPython . __file__ = abspath ( join ( HOME_TEST_DIR , 'Lib/IPython/__init__.py' ) ) home_dir = path . get_home_dir ( ) nt . assert_equal ( home_dir , unfrozen )
testcase for py2exe logic .