Skip to content

Commit 94c95d4

Browse files
authored
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.
1 parent 59f32a7 commit 94c95d4

11 files changed

+106
-115
lines changed

Lib/test/test_future_stmt/badsyntax_future3.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future4.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future5.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future6.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future7.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future8.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future9.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)