Skip to content

Using appropriate checks in tests #60714

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 16510
Nosy @terryjreedy, @jcea, @jaraco, @pitrou, @ezio-melotti, @bitdancer, @voidspace, @serhiy-storchaka
PRs
  • bpo-16510: Using more specific assertions in miscellaneous tests #792
  • Dependencies
  • bpo-19589: Use specific asserts in test_asyncio
  • bpo-19590: Use specific asserts in test_email
  • bpo-19591: Use specific asserts in ctype tests
  • bpo-19592: Use specific asserts in lib2to3 tests
  • bpo-19593: Use specific asserts in importlib tests
  • bpo-19594: Use specific asserts in unittest tests
  • bpo-19600: Use specific asserts in distutils tests
  • bpo-19601: Use specific asserts in sqlite3 tests
  • bpo-19602: Use specific asserts in tkinter tests
  • bpo-19603: Use specific asserts in test_decr
  • bpo-19604: Use specific asserts in array tests
  • bpo-19605: Use specific asserts in datetime tests
  • bpo-19606: Use specific asserts in http.cookiejar tests
  • bpo-19607: Use specific asserts in weakref tests
  • bpo-20544: Use specific asserts in operator tests
  • bpo-20545: Use specific asserts in unicode tests
  • bpo-20546: Use specific asserts in int tests
  • bpo-20547: Use specific asserts in bigmem tests
  • bpo-20548: Use specific asserts in warnings and exceptions tests
  • bpo-20549: Use specific asserts in mailbox, smtplib and poplib tests
  • bpo-20550: Use specific asserts in collections tests
  • bpo-20551: Use specific asserts in decimal tests
  • bpo-20552: Use specific asserts in bytes tests
  • bpo-20553: Use specific asserts in ipaddress tests
  • bpo-20554: Use specific asserts in optparse test
  • bpo-20555: Use specific asserts in urllib related tests
  • bpo-20556: Use specific asserts in threading tests
  • bpo-20557: Use specific asserts in io tests
  • Files
  • tests_asserts.patch
  • tests_asserts_2.patch
  • tests_asserts_3.patch
  • tests_asserts_4.patch
  • tests_asserts_7.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 = None
    closed_at = <Date 2017-04-05.05:44:23.736>
    created_at = <Date 2012-11-19.10:44:18.561>
    labels = ['type-feature', 'tests']
    title = 'Using appropriate checks in tests'
    updated_at = <Date 2017-04-05.05:44:23.734>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-04-05.05:44:23.734>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-04-05.05:44:23.736>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2012-11-19.10:44:18.561>
    creator = 'serhiy.storchaka'
    dependencies = ['19589', '19590', '19591', '19592', '19593', '19594', '19600', '19601', '19602', '19603', '19604', '19605', '19606', '19607', '20544', '20545', '20546', '20547', '20548', '20549', '20550', '20551', '20552', '20553', '20554', '20555', '20556', '20557']
    files = ['28041', '31505', '32650', '33984', '46779']
    hgrepos = []
    issue_num = 16510
    keywords = ['patch']
    message_count = 12.0
    messages = ['175953', '175956', '175960', '186713', '186743', '196459', '202909', '203053', '203057', '203070', '210566', '221904']
    nosy_count = 9.0
    nosy_names = ['terry.reedy', 'jcea', 'jaraco', 'pitrou', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'tshepang', 'serhiy.storchaka']
    pr_nums = ['792']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue16510'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      testsTests in the Lib/test dirtype-featureA feature request or enhancement
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions