gh-109485: Further improve test_future_stmt tests (#109486)

Add assertSyntaxError() which run tests with an additional docstring
and without docstring, and checks for the error message.
This commit is contained in:
Nikita Sobolev 2023-09-19 15:01:59 +03:00 committed by GitHub
parent 59f32a785f
commit 94c95d42a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 106 additions and 115 deletions

View file

@ -0,0 +1,3 @@
from __future__ import absolute_import
"spam, bar, blah"
from __future__ import print_function