Skip to content

gh-127146: Some expected failures in Emscripten time tests - #127843

Merged
freakboy3742 merged 1 commit into
python:mainfrom
hoodmane:emscripten-time-tests
Dec 12, 2024
Merged

gh-127146: Some expected failures in Emscripten time tests#127843
freakboy3742 merged 1 commit into
python:mainfrom
hoodmane:emscripten-time-tests

Conversation

@hoodmane

@hoodmanehoodmane commented Dec 11, 2024

Copy link
Copy Markdown
Contributor

This xfails two tests in the test_time suite. It also adjusts test_os to reflect the fact that in Emscripten file modification times in nanoseconds since the linux epoch get round tripped through a 53 bit integer so we only get 5 subsecond digits of precision.

This xfails two tests in the test_time suite. It also adjusts test_os
to reflect the fact that in Emscripten file modification times in
nanoseconds since the linux epoch get round tripped through a 53 bit
integer so we only get 5 subsecond digits of precision.
@bedevere-appbedevere-appBot added the tests Tests in the Lib/test dir label Dec 11, 2024
@hoodmanehoodmane changed the title gh-127146: Emscripten some expected failures in time testsgh-127146: Some expected failures in Emscripten time testsDec 11, 2024

@freakboy3742freakboy3742 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 An annoying discrepancy on subsection accuracy, but this is a pragmatic workaround until such time as this can be fixed upstream.

@freakboy3742
freakboy3742 merged commit 41f29e5 into python:mainDec 12, 2024
@hoodmane
hoodmane deleted the emscripten-time-tests branch December 12, 2024 09:23
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…hon#127843)
Disables two tests in the test_time suite, and adjusts test_os to reflect precision limits in Emscripten.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hoodmane@freakboy3742