Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptest_new_no_args fails on PyPy2.7 #671
Comments
|
Why do you think it is not a PyPy bug? In any case, PyPy is not officially supported by this backport. So unless you are willing to provide a reasonable fix/workaround, I am going to close this. |
|
I don't know, I was hoping you'd be able to tell me. 3.6.4 worked fine. |
|
Here is the relevant difference between CPython and PyPy. In CPython:
In PyPy:
This means that in PyPy, Moreover, in both CPython and PyPy, We can produce similar behavior in CPython like this:
It looks like So the central question is: Why doesn't |
|
Related: #560, python/cpython#6758 @ilevkivskyi What was the reasoning behind adding the |
|
Hm, I found the answer to my question here:
I'll ponder this a bit to see if there's a different solution that would work for both A and B. |
|
Could you hint me a bit on how to handle this downstream? Is this a regression in the new version, or merely a thing that wasn't tested before? Is this something critical to functionality, or can I just ignore the test failure on PyPy for the time being? |
|
It's not a regression in typing.py. I don't know what changed (the test or the typing.py module) but it looks like it's failing due to the absence of an expected exception, which doesn't sound like the end of the world. Maybe you can try deleting these two lines from the failing test:
If it then passes, I wouldn't worry (and we might accept a PR that skips those two lines if PyPy is detected). For more details just carefully read this issue from the top, it's all there. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Same result with
tox, after copyingtestenv:py27totestenv:pypy.