Skip to content

Fix "lazy from (...) import (...)" tests#145213

Merged
FFY00 merged 1 commit intopython:mainfrom
FFY00:fix-test_lazy_imports-global_filter_from
Feb 25, 2026
Merged

Fix "lazy from (...) import (...)" tests#145213
FFY00 merged 1 commit intopython:mainfrom
FFY00:fix-test_lazy_imports-global_filter_from

Conversation

@FFY00
Copy link
Member

@FFY00 FFY00 commented Feb 25, 2026

Looks like test_global_filter_from and test_global_filter_from_true are importing the non-"from" version of the test data files, effectively skipping the tests for the "from" versions.

The data files seem to be written for an outdated version of the implementation, and contain a typo in the lazy import statement. Since they were not actually being tested, they went unnoticed and were never fixed and updated.

Signed-off-by: Filipe Laíns <lains@riseup.net>
@pablogsal
Copy link
Member

Thanks @FFY00

@FFY00 FFY00 merged commit 80b2b88 into python:main Feb 25, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants