◐ Shell
clean mode source ↗

gh-105751: Remove dead code in test_ctypes by vstinner · Pull Request #105814 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@vstinner

@vstinner vstinner commented

Jun 15, 2023

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

  • Remove "except: print(tp); raise" debug code.
  • Remove unused NoNullHandle() function.
  • Remove commented code.
* Remove "except: print(tp); raise" debug code.
* Remove unused NoNullHandle() function.
* Remove commented code.
Reenable 3 tests:

* test_overflow()
* test_basic_wstrings()
* test_toolong()

Changes:

* Replace sys.maxint with sys.maxsize
* Replace c_wstring() with create_unicode_buffer()
* Update issue number

@vstinner vstinner closed this

Jun 15, 2023

@vstinner vstinner deleted the test_ctypes_dead_code branch

June 15, 2023 09:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner @bedevere-bot