bpo-45629: Add a test for the "freeze" tool. by ericsnowcurrently · Pull Request #29222 · python/cpython

added 3 commits

October 25, 2021 18:29

@ericsnowcurrently

@ericsnowcurrently

@ericsnowcurrently

@ericsnowcurrently

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently changed the title bpo-45096: Add a test for the "freeze" tool. bpo-45629: Add a test for the "freeze" tool.

Oct 27, 2021

gpshead added a commit to gpshead/cpython that referenced this pull request

Feb 3, 2022
It was added as part of python#29222 to avoid running freeze tool tests on the
buildbots but the logic was wrong so it did not skip tests on typical posix
setup buildbots where the worker is launched from cron via an @reboot task and
thus have no USER environment variable.  This uses the canonical
`getpass.getuser()` API rather than rolling its own attempt.

gpshead added a commit that referenced this pull request

Feb 3, 2022
It was added as part of #29222 to avoid running freeze tool tests on the
buildbots but the logic was wrong so it did not skip tests on typical posix
setup buildbots where the worker is launched from cron via an @reboot task and
thus have no USER environment variable.  This uses the canonical
`getpass.getuser()` API rather than rolling its own attempt.