-
-
Notifications
You must be signed in to change notification settings - Fork 3k
tuple excepts fail when one of the classes has type Any
#1635
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
Comments
What's the purpose of C in the repro? --Guido (mobile)
|
I made a slight editing error as I was cleaning the example up. Fixed. |
This was broken in #1610. |
* Allow `Any` types for tuple except handler tests Fixes #1635. * If even just one test has `Any` type then the whole expression will be `Any` * Revert "If even just one test has `Any` type then the whole expression will be `Any`" This reverts commit 00faff4. * Ensure all errors are reported, regardless of where the `Any` appears
Uh oh!
There was an error while loading. Please reload this page.
results in
test.py:6: error: Exception type must be derived from BaseException
The text was updated successfully, but these errors were encountered: