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

bpo-41919: Move the codecs.register operation to the setup of testcases. by shihai1991 · Pull Request #22513 · python/cpython · GitHub

/ cpython Public

bpo-41919: Move the codecs.register operation to the setup of testcases. - #22513

Merged
vstinner merged 2 commits into
python:masterfrom
shihai1991:update_test_codecs
Oct 16, 2020
Merged

bpo-41919: Move the codecs.register operation to the setup of testcases.#22513
vstinner merged 2 commits into
python:masterfrom
shihai1991:update_test_codecs

Conversation

shihai1991 commented Oct 3, 2020
edited
Loading

Copy link
Copy Markdown
Member
  • Move the codecs.register operation to the setup of testcases.
  • Remove _codecs._forget_codecs and _PyCodec_Forget().

https://bugs.python.org/issue41919

Copy link
Copy Markdown
Member Author

Hi, victor. Pls take a look when you have free time. @vstinner

Comment thread Lib/test/test_codecs.py
Comment thread Lib/test/test_codecs.py Outdated
shihai1991 changed the title bpo-41919: Move the codecs.register operation to testcases. bpo-41919: Move the codecs.register operation to the inside of testcases. Oct 8, 2020
shihai1991 changed the title bpo-41919: Move the codecs.register operation to the inside of testcases. bpo-41919: Move the codecs.register operation to the setup of testcases. Oct 8, 2020

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

I checked for leaks: ./python -m test test_codecs -R 3:3 pass (no leak), good!

Copy link
Copy Markdown
Member

It seems like your PR is sick: it got two Travis CI, and one will never complete. It's a victim of python/core-workflow#377 bug.

Can you try to recreate a new PR? For example, rename your local branch update_test_codecs to update_test_codecs2 and publish it.

Or wait until python/core-workflow#377 is fixed (Travis CI made optional).

Copy link
Copy Markdown
Member Author

It seems like your PR is sick: it got two Travis CI, and one will never complete. It's a victim of python/core-workflow#377 bug.

Can you try to recreate a new PR? For example, rename your local branch update_test_codecs to update_test_codecs2 and publish it.

Or wait until python/core-workflow#377 is fixed (Travis CI made optional).

Copy that, I can waiting the fix of issues/377 :)

vstinner merged commit c9f696c into python:master Oct 16, 2020

Copy link
Copy Markdown
Member

Copy that, I can waiting the fix of issues/377 :)

Travis CI is no longer mandatory.

I merged your PR, thanks.

Copy link
Copy Markdown
Member Author

Copy that, I can waiting the fix of issues/377 :)

Travis CI is no longer mandatory.

I merged your PR, thanks.

Wow, thanks, victor.

xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
…GH-22513)

* Move the codecs' (un)register operation to testcases.
* Remove _codecs._forget_codec() and _PyCodec_Forget()
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…GH-22513)

* Move the codecs' (un)register operation to testcases.
* Remove _codecs._forget_codec() and _PyCodec_Forget()
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

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL