-
Notifications
You must be signed in to change notification settings - Fork 5
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
Tests fail with Python < 3.5 #1
Comments
Sorry, I should have mentioned, when I wrote mostly, that there are also two errors with Python 2: one due to the prefix
|
Indeed. I see those as well - they now show up in the travis-run tests. I found that I could update the
But that violates the primary purpose of providing clear documentation. I note that I also discovered that it's not possible to include ellipses at the beginning of the expected output because it's interpreted as continuation syntax for the previous line's |
Hi Jason,
I just ran the tests with various Python versions and some fail, mostly those related to exceptions because the messages changed throughout versions
For instance, Python 3.4 will yield
ValueError: need more than 0 values to unpack
whereas 3.5 will haveValueError: too many values to unpack (expected 1)
I don't really know if you can fix this only through doctests but I thought it was worth opening an issue for.
The text was updated successfully, but these errors were encountered: