Skip to content

Tests needing network flag? #46001

Closed
Closed

Description

@smontanaro
BPO 1660
Nosy @smontanaro
Files
  • network.diff
  • 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 = <Date 2007-12-19.16:59:20.997>
    created_at = <Date 2007-12-19.15:18:36.242>
    labels = []
    title = 'Tests needing network flag?'
    updated_at = <Date 2007-12-19.16:59:20.996>
    user = 'https://github.com/smontanaro'

    bugs.python.org fields:

    activity = <Date 2007-12-19.16:59:20.996>
    actor = 'skip.montanaro'
    assignee = 'none'
    closed = True
    closed_date = <Date 2007-12-19.16:59:20.997>
    closer = 'skip.montanaro'
    components = []
    creation = <Date 2007-12-19.15:18:36.242>
    creator = 'skip.montanaro'
    dependencies = []
    files = ['8997']
    hgrepos = []
    issue_num = 1660
    keywords = []
    message_count = 2.0
    messages = ['58807', '58809']
    nosy_count = 1.0
    nosy_names = ['skip.montanaro']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1660'
    versions = []

    Activity

    1. smontanaro commented on Dec 19, 2007

      @smontanaro
      ContributorAuthor

      (third try at getting this bug report to submit by email.)

      While riding to work today I ran the test suite on trunk. The following
      tests failed due to lack of network connectivity:

      test_socket
      test_socket_ssl
      test_ssl
      test_urllib2
      

      These tests should probably either require -u network or should themselves
      check to see if the network is available and skip those tests requiring
      network connectivity. In fact, regrtest.py's comments list test_socket_ssl
      as requiring the network resource. That seems to have regressed since 2.5

      Simple patch attached.

      Skip

    2. smontanaro commented on Dec 19, 2007

      @smontanaro
      ContributorAuthor

      duplicate of 1659

    3. 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

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions