Skip to content

Conversation

@JukkaL
Copy link
Contributor

@JukkaL JukkaL commented Mar 18, 2017

These are needed for a mypy PR that I'm preparing.


class _AssertRaisesContext:
exception = ... # type: Exception
exception = ... # type: Any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What else can it be?

Copy link
Contributor

@ddfisher ddfisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making things more specific. LGTM!

@ambv ambv merged commit f296b37 into master Mar 18, 2017
@gvanrossum gvanrossum deleted the unittest-fixes branch March 22, 2017 14:23
hswong3i pushed a commit to alvistack/python-typeshed that referenced this pull request May 25, 2025
…ersion (python#1024)

As pointed out in python#1023, there is no risk of incompatibility, since the
requires-python field will prevent installation on older Python versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants