SIGN IN SIGN UP

bpo-35798: Add test.support.check_syntax_warning(). (#11895)

It checks that a SyntaxWarning is raised when compile specified
statement, that it is raised only once, that it is converted to
a SyntaxError when raised as exception, and that both warning and
exception objects have corresponding attributes.
S
Serhiy Storchaka committed
e7a4bb554edb72fc6619d23241d59162d06f249a
Parent: ee0f927
Committed by GitHub <noreply@github.com> on 2/19/2019, 6:30:15 AM