FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

/ cpython Public

gh-105751: Remove dead code in test_ctypes - #105814

Closed
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:test_ctypes_dead_code
Closed

gh-105751: Remove dead code in test_ctypes#105814
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:test_ctypes_dead_code

Conversation

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 closed this Jun 15, 2023
vstinner deleted the test_ctypes_dead_code branch June 15, 2023 09:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL