Skip to content

[3.12] gh-125997: Increase test coverage for time.sleep() (GH-128751) #128795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 13, 2025

  • Add tests for durations of invalid types.
  • Add tests for int and float durations, including signed zeroes durations.
  • Add tests for nonzero very small durations and durations close to the clock resolution.

(cherry picked from commit b70a567)

Co-authored-by: Bénédikt Tran [email protected]
Co-authored-by: Victor Stinner [email protected]

…128751)

- Add tests for durations of invalid types.
- Add tests for `int` and `float` durations, including signed zeroes durations.
- Add tests for nonzero very small durations and durations close to the clock resolution.

---------
(cherry picked from commit b70a567)

Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Jan 13, 2025
@picnixz picnixz enabled auto-merge (squash) January 13, 2025 16:59
@picnixz picnixz merged commit e7400d7 into python:3.12 Jan 13, 2025
30 checks passed
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