Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error #10919

Merged
merged 3 commits into from Dec 5, 2018
Merged

bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error #10919

merged 3 commits into from Dec 5, 2018

Commits on Dec 5, 2018

  1. bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error

    * posixpath.expanduser() now returns the input path unchanged if
      the HOME environment variable is not set and pwd.getpwuid() raises
      KeyError (the current user identifier doesn't exist in the password
      database).
    * Add test_no_home_directory() to test_site.
    vstinner committed Dec 5, 2018
    Copy the full SHA
    ff90b44 View commit details
    Browse the repository at this point in the history
  2. Enhance tests

    * Add more tests to test_expanduser_home_envvar()
    * Fix typo: assertTrue => assertEqual
    * Use support.import_module()
    vstinner committed Dec 5, 2018
    Copy the full SHA
    4fd59f5 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ad5cbb5 View commit details
    Browse the repository at this point in the history