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

[3.12] gh-109218: Refactor tests for the complex() constructor (GH-119635) by miss-islington · Pull Request #119796 · python/cpython · GitHub

/ cpython Public

[3.12] gh-109218: Refactor tests for the complex() constructor (GH-119635) - #119796

Merged
serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-bf098d4-3.12
May 30, 2024
Merged

[3.12] gh-109218: Refactor tests for the complex() constructor (GH-119635)#119796
serhiy-storchaka merged 1 commit into
python:3.12from
miss-islington:backport-bf098d4-3.12

Conversation

miss-islington commented May 30, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor
  • Share common classes.
  • Use exactly representable floats and exact tests.
  • Check the sign of zero components.
  • Remove duplicated tests (mostly left after merging int and long).
  • Reorder tests in more consistent way.
  • Test more error messages.
  • Add tests for missed cases.
    (cherry picked from commit bf098d4)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…GH-119635)

* Share common classes.
* Use exactly representable floats and exact tests.
* Check the sign of zero components.
* Remove duplicated tests (mostly left after merging int and long).
* Reorder tests in more consistent way.
* Test more error messages.
* Add tests for missed cases.
(cherry picked from commit bf098d4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

2 participants


Back | FazBrowse Home | New Git URL