| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
I started out trying to backport python/cpython#104571, but realized that it makes sense to backport CPython's whole TypeVarTests class since we now have our own implementation of TypeVar. I dropped test_var_substitution and test_bad_var_substitution since they rely on the internal __typing_subst__ method, and the type substitution logic is generally very hard to get precisely the same across versions.
|
CI is failing because we didn't bring over the fix for python/cpython#84123. It doesn't seem worth the effort to fix that for early versions of 3.7 and 3.8, so I'm just going to skip that test before 3.9. |
Sorry, something went wrong.
There was a problem hiding this comment.
Haven't done a line-by-line review, but I trust in your copy-and-paste abilities :)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I started out trying to backport python/cpython#104571, but
realized that it makes sense to backport CPython's whole TypeVarTests
class since we now have our own implementation of TypeVar.
I dropped test_var_substitution and test_bad_var_substitution
since they rely on the internal typing_subst method, and the
type substitution logic is generally very hard to get precisely
the same across versions.