✕
Skip to content

Add test for ntpath.expanduser #65692

Closed
Closed

Description

@PCManticore
BPO 21493
Nosy @PCManticore, @serhiy-storchaka
Files
  • expanduser.patch
  • issue21493.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2014-05-28.15:39:31.309>
    created_at = <Date 2014-05-13.10:12:40.242>
    labels = ['type-feature', 'tests']
    title = 'Add test for ntpath.expanduser'
    updated_at = <Date 2014-05-28.15:39:31.292>
    user = 'https://github.com/PCManticore'

    bugs.python.org fields:

    activity = <Date 2014-05-28.15:39:31.292>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-05-28.15:39:31.309>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2014-05-13.10:12:40.242>
    creator = 'Claudiu.Popa'
    dependencies = []
    files = ['35239', '35355']
    hgrepos = []
    issue_num = 21493
    keywords = ['patch']
    message_count = 5.0
    messages = ['218427', '219102', '219104', '219275', '219279']
    nosy_count = 3.0
    nosy_names = ['Claudiu.Popa', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21493'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Activity

    1. PCManticore commented on May 13, 2014

      PCManticoremannequin
      MannequinAuthor

      Hello. This patch adds a test for ntpath.expanduser, which was missing. Also, it increases the test coverage for ntpath.py from 68% to 75%.

    2. serhiy-storchaka commented on May 25, 2014

      @serhiy-storchaka
      Member

      LGTM. But most other tests in this file use tester() to test str and bytes. And it would be good to test multicomponent arguments (e.g. '~test\\foo\\bar' and '~/foo/bar').

    3. PCManticore commented on May 25, 2014

      PCManticoremannequin
      MannequinAuthor

      Here's an updated patch.

    4. python-dev commented on May 28, 2014

      python-devmannequin
      Mannequin

      New changeset 5e599b301ebd by Serhiy Storchaka in branch '2.7':
      Issue bpo-21493: Added test for ntpath.expanduser(). Original patch by
      http://hg.python.org/cpython/rev/5e599b301ebd

      New changeset a981a088512c by Serhiy Storchaka in branch '3.4':
      Issue bpo-21493: Added test for ntpath.expanduser(). Original patch by
      http://hg.python.org/cpython/rev/a981a088512c

      New changeset 5a71a7e60fe6 by Serhiy Storchaka in branch 'default':
      Issue bpo-21493: Added test for ntpath.expanduser(). Original patch by
      http://hg.python.org/cpython/rev/5a71a7e60fe6

    5. serhiy-storchaka commented on May 28, 2014

      @serhiy-storchaka
      Member

      Thanks Claudiu.

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions