Skip to content

Make tests more PyPy compatible #69317

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 25130
Nosy @terryjreedy, @cfbolz, @benjaminp, @ambv, @vadmium, @serhiy-storchaka, @rlamy, @miss-islington
PRs
  • bpo-25130: Add calls of gc.collect() in tests to support PyPy #28005
  • bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only #28002
  • [3.10] bpo-25130: Make unit-test about restricting the maximum number of nested blocks cpython-only (GH-28002) #28016
  • [3.9] bpo-25130: Make unit-test about restricting the maximum number … #28017
  • bpo-25130: Make SQLite tests more compatible with PyPy #28021
  • [3.10] bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) #28022
  • [3.9] bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) #28023
  • [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005). #28027
  • [3.9] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005). #28028
  • Files
  • pypy_tests_gc_collect-2.7.patch: Just add gc.collect() calls
  • pypy_tests-2.7_full.patch: Full difference between 2.7 tests in PyPy and CPython
  • 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 = None
    created_at = <Date 2015-09-15.18:15:24.258>
    labels = ['type-feature', 'tests', '3.9', '3.10', '3.11']
    title = 'Make tests more PyPy compatible'
    updated_at = <Date 2021-09-08.15:09:06.833>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-09-08.15:09:06.833>
    actor = 'lukasz.langa'
    assignee = 'serhiy.storchaka'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2015-09-15.18:15:24.258>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['40475', '40481']
    hgrepos = []
    issue_num = 25130
    keywords = ['patch']
    message_count = 18.0
    messages = ['250789', '250812', '250816', '250824', '250832', '250835', '250836', '389367', '400439', '400492', '400496', '400497', '400519', '400520', '400522', '400523', '400526', '401387']
    nosy_count = 9.0
    nosy_names = ['terry.reedy', 'Carl.Friedrich.Bolz', 'benjamin.peterson', 'lukasz.langa', 'fijall', 'martin.panter', 'serhiy.storchaka', 'Ronan.Lamy', 'miss-islington']
    pr_nums = ['28005', '28002', '28016', '28017', '28021', '28022', '28023', '28027', '28028']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25130'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Labels

    3.10only security fixes3.11only security fixes3.9 (EOL)end of lifetestsTests 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