Skip to content

Fix test_spectral_eigen_tol_auto for pypy - #23523

Merged
thomasjpfan merged 2 commits into
scikit-learn:mainfrom
jeremiedbb:fix-test-eigen-tol-pypy
Jun 2, 2022
Merged

thomasjpfan merged 2 commits into
scikit-learn:mainfrom
jeremiedbb:fix-test-eigen-tol-pypy

Conversation

@jeremiedbb

Copy link
Copy Markdown
Member

Fixes #23520

@glemaitre

Copy link
Copy Markdown
Member

Since PyPy is Python 3.7, we might use some Mock properties available from Python 3.8

@glemaitre

Copy link
Copy Markdown
Member

call_args.kwargs are available from Python 3.8.

@jeremiedbb

jeremiedbb commented Jun 2, 2022 •

Copy link
Copy Markdown
Member Author

yes that's what I think, but the weird thing is that call_args.kwargs is available since 3.8 but the error appears when indexing kwargs, not when accessing kwargs

@jeremiedbb jeremiedbb changed the title WIP Fix test_spectral_eigen_tol_auto for pypy Fix test_spectral_eigen_tol_auto for pypy Jun 2, 2022

@glemaitre glemaitre 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.

LGTM

@thomasjpfan thomasjpfan 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.

LGTM

@thomasjpfan
thomasjpfan merged commit ed09c05 into scikit-learn:main Jun 2, 2022
ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
@jeremiedbb
jeremiedbb deleted the fix-test-eigen-tol-pypy branch September 3, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚠️ CI failed on Linux_Nightly_PyPy.pypy3 ⚠️

3 participants