Skip to content

bpo-41338: Fix warnings in test_decimal - #21542

Merged
methane merged 3 commits into
python:masterfrom
methane:fix-decimal-warnings
Jul 20, 2020
Merged

bpo-41338: Fix warnings in test_decimal#21542
methane merged 3 commits into
python:masterfrom
methane:fix-decimal-warnings

Conversation

@methane

@methane methane commented Jul 19, 2020

Copy link
Copy Markdown
Member

@methane methane added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir skip news labels Jul 19, 2020
@methane
methane requested review from rhettinger and skrah as code owners July 19, 2020 08:03
@methane

methane commented Jul 19, 2020

Copy link
Copy Markdown
Member Author

@serhiy-storchaka What do you think about suppress DeprecationWarning in requires_legacy_unicode_capi decorator?

@serhiy-storchaka

Copy link
Copy Markdown
Member

@serhiy-storchaka What do you think about suppress DeprecationWarning in requires_legacy_unicode_capi decorator?

I think it is a good idea. Actually I have wrote a PR #21543 that implements it simultaneously with you. 😉

@serhiy-storchaka serhiy-storchaka 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.

👍

It is up to you, mark with ignore_warnings individual tests or change requires_legacy_unicode_capi.

@skrah

skrah commented Jul 19, 2020

Copy link
Copy Markdown
Contributor

Actually, we could delete this test if it's too much trouble. It has run for several years and the code won't change.

@methane
methane merged commit 902356a into python:master Jul 20, 2020
@methane
methane deleted the fix-decimal-warnings branch July 20, 2020 03:02
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 4, 2020
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 20, 2020
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
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 type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants