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
Compatibility with Python 3.7.0b5 #11224
Comments
That is a weird change in the standard exception |
Yes, seems due to https://bugs.python.org/issue30399 that was resolved - not sure why we still get this in 3.7.0b5... |
No actually that issue / PR is where the behavior changed: in 3.7 it seems there is no trailing comma in Exceptions |
Can I take this issue as my first contribution? My idea of fixing this would be just removing the trailing comma in |
Yes, thank you @jiaowoshabi ! |
@rth Hi, since Exceptions __rep__ in 3.6.5 still automatically adds the trailing comma at the end, test run failed on Python3.6.5 after simply removing the trailing comma. How should I handle this backward compatibility if test run needs to succeed on 3.6.5? |
Since we don't have many doctests which raise exceptions, I think using
doctest's ELLIPSIS is fine.
…On Thu, 14 Jun 2018 at 11:55, Wenhao Zhang ***@***.***> wrote:
@rth <https://github.com/rth> Hi, since Exceptions __rep__ in 3.6.5 still
automatically adds the trailing comma at the end, test run failed on
Python3.6.5 after simply removing the trailing comma.
How should I handle this backward compatibility if test run needs to
succeed on 3.6.5?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11224 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz6xyNLs_ObrFXb17slIpbf_AA_0aLks5t8cKCgaJpZM4UhS6u>
.
|
When running the tests suite on Python 3.7.0b5, with
Dockerfile
most tests appears to pass, but there are two minor doctest failures,
Also there is a DeprecationWarning when running
import sklearn
reported in #11121The text was updated successfully, but these errors were encountered: