You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test regression with pypy3.9: test_overload_on_compiled_functions #83
One preliminary note: As the implementation of overload matches the implementation of overload in Python 3.11, pypy would also fail with the typing.py module from there.
The problem is that sum() and print() are not compiled functions in pypy. The test in question checks whether @overload is skipped for those, so it can't work. #84 just skips this tests when running pypy.
Activity
Run CI against pypy
srittau commentedon Oct 7, 2022
One preliminary note: As the implementation of
overloadmatches the implementation ofoverloadin Python 3.11, pypy would also fail with thetyping.pymodule from there.srittau commentedon Oct 7, 2022
The problem is that
sum()andprint()are not compiled functions in pypy. The test in question checks whether@overloadis skipped for those, so it can't work. #84 just skips this tests when running pypy.mgorny commentedon Oct 7, 2022
Thanks. This makes sense to me.
Fix tests when running pypy (#84)