Testcase for py2exe logic, compressed lib
()
| 119 | @skip_if_not_win32 |
| 120 | @with_environment |
| 121 | def test_get_home_dir_2(): |
| 122 | """Testcase for py2exe logic, compressed lib |
| 123 | """ |
| 124 | unfrozen = path.get_home_dir() |
| 125 | sys.frozen = True |
| 126 | #fake filename for IPython.__init__ |
| 127 | IPython.__file__ = abspath(join(HOME_TEST_DIR, "Library.zip/IPython/__init__.py")).lower() |
| 128 | |
| 129 | home_dir = path.get_home_dir(True) |
| 130 | nt.assert_equal(home_dir, unfrozen) |
| 131 | |
| 132 | |
| 133 | @skip_win32_py38 |
nothing calls this directly
no outgoing calls
no test coverage detected