summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future_stmt/test_future.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-126139: Improve error message location for future statement with ↵Miss Islington (bot)2024-10-301-4/+4
| | | | | | | | unknown feature (GH-126140) (#126155) gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (cherry picked from commit 224c370a3680132997f1e43d20a3b4ca95a060ab) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
* [3.13] gh-116860: Remove outdated `test_parserhack` from `test_future` ↵Miss Islington (bot)2024-05-281-20/+0
| | | | | | | | (GH-116861) (#119649) gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (cherry picked from commit 669175bf8edc2c02d48401bac0e4c7d99a33f15b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-118216: Don't consider dotted `__future__` imports (#118267)Crowthebird2024-05-021-0/+19
|
* gh-109485: Further improve `test_future_stmt` tests (#109486)Nikita Sobolev2023-09-191-42/+106
| | | | Add assertSyntaxError() which run tests with an additional docstring and without docstring, and checks for the error message.
* gh-108303: Move `test_future` into its own test_future_stmt subdir (#109368)Nikita Sobolev2023-09-151-0/+460