Skip to content

Use test.script_helper.assert_python_ok() instead of subprocess.* in test.test_warnings #64572

Closed

Description

@Arfrever
mannequin
BPO 20373
Nosy @pitrou
Files
  • python-2.7-test_warnings.py_use_assert_python_ok.patch: Patch for 2.7 branch
  • python-3.3-test_warnings.py_use_assert_python_ok.patch: Patch for 3.3 branch
  • 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/pitrou'
    closed_at = <Date 2014-01-29.22:45:36.768>
    created_at = <Date 2014-01-24.02:49:19.209>
    labels = ['type-feature', 'tests']
    title = 'Use test.script_helper.assert_python_ok() instead of subprocess.* in test.test_warnings'
    updated_at = <Date 2014-01-29.22:45:36.767>
    user = 'https://bugs.python.org/Arfrever'

    bugs.python.org fields:

    activity = <Date 2014-01-29.22:45:36.767>
    actor = 'pitrou'
    assignee = 'pitrou'
    closed = True
    closed_date = <Date 2014-01-29.22:45:36.768>
    closer = 'pitrou'
    components = ['Tests']
    creation = <Date 2014-01-24.02:49:19.209>
    creator = 'Arfrever'
    dependencies = []
    files = ['33671', '33672']
    hgrepos = []
    issue_num = 20373
    keywords = ['patch']
    message_count = 4.0
    messages = ['209030', '209688', '209689', '209690']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'Arfrever', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20373'
    versions = ['Python 3.3', 'Python 3.4']

    Activity

    1. Arfrever commented on Jan 24, 2014

      Arfrevermannequin
      MannequinAuthor

      These patches make test.test_warnings use test.script_helper.assert_python_ok() instead of subprocess.*, as suggested by Antoine in msg209022.

    2. added
      testsTests in the Lib/test dir
      type-featureA feature request or enhancement
      on Jan 24, 2014
    3. pitrou commented on Jan 29, 2014

      @pitrou
      Member

      There's not much point in changing the 2.7 tests at this point. It's reasonable to change both 3.3 and 3.x, so as to avoid divergence.

    4. python-dev commented on Jan 29, 2014

      python-devmannequin
      Mannequin

      New changeset d844b31471b5 by Antoine Pitrou in branch '3.3':
      Issue bpo-20373: generalize use of test.script_helper in test_warnings. Patch by Arfrever.
      http://hg.python.org/cpython/rev/d844b31471b5

      New changeset 04b658b3fe7c by Antoine Pitrou in branch 'default':
      Issue bpo-20373: generalize use of test.script_helper in test_warnings. Patch by Arfrever.
      http://hg.python.org/cpython/rev/04b658b3fe7c

    5. pitrou commented on Jan 29, 2014

      @pitrou
      Member

      Thanks for the patch!

    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

    Assignees

    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