ruff/crates/ruff_linter/resources/test/fixtures/syntax_errors
Max Mynter 3f84e75e20
Add Semantic Error Test for LateFutureImport (#17612)
Adresses a question in #17526.

## Summary
Adds a syntax error test for `__future__` import not at top of file. 

## Question: 
Is this a redundant with
8d2c79276d/crates/ruff_linter/resources/test/fixtures/pyflakes/F404_0.py (L1-L8)
and
8d2c79276d/crates/ruff_linter/resources/test/fixtures/pyflakes/F404_1.py (L1-L5)

which test pyflake `F404`?
<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan
This is a test
<!-- How was it tested? -->
2025-04-25 08:32:57 -04:00
..
async_comprehension.ipynb [syntax-errors] Async comprehension in sync comprehension (#17177) 2025-04-08 12:50:52 -04:00
await_scope.ipynb [syntax-errors] yield, yield from, and await outside functions (#17298) 2025-04-11 10:16:23 -04:00
late_future_import.py Add Semantic Error Test for LateFutureImport (#17612) 2025-04-25 08:32:57 -04:00
load_before_global_declaration.py [semantic-syntax-errors] test for LoadBeforeGlobalDeclaration - ruff linter (#17592) 2025-04-24 16:14:33 -04:00
return_outside_function.py [syntax-errors] return outside function (#17300) 2025-04-11 17:05:54 +00:00
yield_scope.py [syntax-errors] yield, yield from, and await outside functions (#17298) 2025-04-11 10:16:23 -04:00