GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Write unit tests for pdb module · Issue #73784 · python/cpython

Write unit tests for pdb module #73784

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Write unit tests for pdb module#73784
Copy link
Labels
3.7 (EOL)end of lifeend of lifetestsTests in the Lib/test dirTests in the Lib/test dir

Description

micgeronimo
mannequin
opened on Feb 19, 2017
Issue body actions
BPO 29598
Nosy @methane, @xdegaye, @serhiy-storchaka, @micgeronimo, @isidentical
PRs
  • bpo-29598 Add couple of unit tests for pdb module #218
  • 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 = None
    closed_at = None
    created_at = <Date 2017-02-19.09:49:40.599>
    labels = ['3.7', 'tests']
    title = 'Write unit tests for pdb module'
    updated_at = <Date 2019-11-30.16:37:13.325>
    user = 'https://github.com/micgeronimo'

    bugs.python.org fields:

    activity = <Date 2019-11-30.16:37:13.325>
    actor = 'BTaskaya'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2017-02-19.09:49:40.599>
    creator = 'Artem Muterko'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29598
    keywords = []
    message_count = 6.0
    messages = ['288123', '288126', '288349', '288459', '288593', '357659']
    nosy_count = 5.0
    nosy_names = ['methane', 'xdegaye', 'serhiy.storchaka', 'Artem Muterko', 'BTaskaya']
    pr_nums = ['218']
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue29598'
    versions = ['Python 3.7']

    Activity

    1. micgeronimo
      added
      3.7 (EOL)end of lifeend of life
      testsTests in the Lib/test dirTests in the Lib/test dir
      on Feb 19, 2017
    2. micgeronimo commented on Feb 19, 2017

      @micgeronimo
      micgeronimomannequin
      on Feb 19, 2017
      MannequinAuthor
      More actions

      I want to write unit tests for pdb module of stdlib. Should I create one pull request for entire module or should I split work into several pull requests?

    3. xdegaye commented on Feb 19, 2017

      @xdegaye
      xdegayemannequin
      on Feb 19, 2017
      Mannequin
      More actions

      Please use one single PR only when the tests are focused on a single topic and can be collected in their own class. When the tests are focused on breakpoints for example.

    4. serhiy-storchaka commented on Feb 22, 2017

      @serhiy-storchaka
      serhiy-storchaka
      on Feb 22, 2017
      Member
      More actions

      It would be better to move all tests for internal functions in separate TestCase class. It should be clear that this is testing of implementation details and we are free to change tests when change the implementation.

      There are some tests for find_function(). They should be moved too. Note that there is a bug in find_function() (it opens a file with default encoding).

      Tests for internal functions don't free us from testing the same functionality as a part of high level functions.

    5. xdegaye commented on Feb 23, 2017

      @xdegaye
      xdegayemannequin
      on Feb 23, 2017
      Mannequin
      More actions

      Note that there is a bug in find_function() (it opens a file with default encoding).

      Please open an issue.

    6. serhiy-storchaka commented on Feb 26, 2017

      @serhiy-storchaka
      serhiy-storchaka
      on Feb 26, 2017
      Member
      More actions

      And decorate this test class with test.support.cpython_only.

    7. isidentical commented on Nov 30, 2019

      @isidentical
      isidentical
      on Nov 30, 2019
      SponsorMember
      More actions

      PR 218 is closed and this issue looks like just created for that PR. If that PR is closed and there are nothing to do with this issue, maybe this can also be closed?

    8. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    9. iritkatriel
      closed this as not plannedon Jun 21, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeend of lifetestsTests in the Lib/test dirTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.