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 — Rework test_ctypes · Issue #105751 · python/cpython

Rework test_ctypes #105751

New issue
Copy link
New issue
Copy link
Closed
Closed
Rework test_ctypes#105751
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-ctypestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@vstinner
vstinner
opened on Jun 13, 2023
Issue body actions

The ctypes module was first maintained outside Python, then moved into Python stdlib. Its test suite wasn't cleaned recently. I create this issue to track work on this topic.

Linked PRs

  • gh-105751: test_ctypes gets Windows attrs from ctypes #105758
  • gh-105751: test_ctypes.test_numbers uses top level imports #105762
  • gh-105751: test_ctypes avoids "from ctypes import *" #105768
  • gh-105751: test_ctypes avoids the operator module #105797
  • gh-105751: test_ctypes: Remove @need_symbol decorator #105798
  • gh-105751: Cleanup test_ctypes imports #105803
  • gh-105751: Remove dead code in test_ctypes #105814
  • gh-105751: Remove dead code in test_ctypes #105817
  • gh-105751: Reenable disable test_ctypes tests #105818
  • gh-105751: Remove platform usage in test_ctypes #105819
  • gh-105751, test_ctypes: Remove disabled tests #105826
  • [3.12] gh-105751, test_ctypes: Remove disabled tests (GH-105826) #107483
  • [3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) #107484
  • gh-105751: Remove obsolete object base class in some ctypes tests #107460
  • [3.12] gh-105751: Remove obsolete object base class in some ctypes tests (GH-107460) #107501
  • [3.11] gh-105751: Remove obsolete object base class in some ctypes tests (GH-107460) #107502

Activity

Next
  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 13, 2023
  2. AlexWaygood
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-ctypes
    on Jun 13, 2023
  3. vstinner
    added 12 commits that reference this issue on Jun 13, 2023

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    6453eec

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    4541af0

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    43ca8ff

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    db1fca5

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    f41f8b6

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    62437e2

    pythongh-105751: test_ctypes gets Windows attrs from ctypes

    9713e30

    pythongh-105751: test_ctypes.test_numbers uses top level imports

    bcaed4f

    pythongh-105751: test_ctypes.test_numbers uses top level imports

    bb343a8

    gh-105751: test_ctypes gets Windows attrs from ctypes (#105758)

    ac7b551

    gh-105751: test_ctypes.test_numbers uses top level imports (#105762)

    381a1dc

    pythongh-105751: test_ctypes avoids "from ctypes import *"

    c640c34
  4. 23 remaining items

  5. vstinner
    added 3 commits that reference this issue on Jun 15, 2023

    gh-105751: Remove platform usage in test_ctypes (#105819)

    c5111ae

    pythongh-105751, test_ctypes: Remove disabled tests

    c57187b

    gh-105751, test_ctypes: Remove disabled tests (#105826)

    8f10140
  6. carljm
    added a commit that references this issue on Jun 15, 2023

    Merge branch 'main' into modulelocals

    166aca9
  7. vstinner commented on Jun 16, 2023

    @vstinner
    vstinner
    on Jun 16, 2023
    MemberAuthor
    More actions

    Ok, I think that I merged enough changes. I close the issue :-)

    Reacted by Zachary Ware
  8. vstinner
    closed this as completedon Jun 16, 2023
  9. ambv
    added 9 commits that reference this issue on Jul 31, 2023

    [3.12] pythongh-105751, test_ctypes: Remove disabled tests (pythonGH-…

    d8bf74d

    [3.11] pythongh-105751, test_ctypes: Remove disabled tests (pythonGH-…

    bdb4ea0

    [3.12] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#10…

    1d21c99

    [3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#10…

    aa5f2b1

    gh-105751: Remove obsolete `object` base class in some ctypes tests (#…

    520efec

    [3.12] pythongh-105751: Remove obsolete `object` base class in some c…

    b4cc248

    [3.11] pythongh-105751: Remove obsolete `object` base class in some c…

    8845ce1

    [3.11] gh-105751: Remove obsolete `object` base class in some ctypes …

    1b40431

    [3.12] gh-105751: Remove obsolete `object` base class in some ctypes …

    831fd19
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

    testsTests in the Lib/test dirTests in the Lib/test dirtopic-ctypestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.