From 03c1f772f894c1dd657852d90ce793dd3b785fff Mon Sep 17 00:00:00 2001 From: yoff Date: Fri, 29 May 2026 05:38:44 +0000 Subject: [PATCH] Python: revert spurious Py2 hidden-test rebless The earlier rebless added '.hidden/inner' and 'folder' to the expected output, but those are namespace-package folders without __init__.py, so under Py2 mode (respect_init=True) they are correctly *not* extracted as packages. The previous local rebless picked up Py3 behaviour because python/ql/test/2/extractor-tests/options doesn't propagate --lang=2 (only library-tests and query-tests do). CI runs it under Py2 and produces the smaller output. This brings the expected file back in line with main and CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- python/ql/test/2/extractor-tests/hidden/test.expected | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/ql/test/2/extractor-tests/hidden/test.expected b/python/ql/test/2/extractor-tests/hidden/test.expected index b639a4b82d8..21bd0dfb2dd 100644 --- a/python/ql/test/2/extractor-tests/hidden/test.expected +++ b/python/ql/test/2/extractor-tests/hidden/test.expected @@ -1,7 +1,5 @@ -| .hidden/inner | | .hidden/inner/test.py | | .hidden/module.py | -| folder | | folder/module.py | | package | | package/__init__.py |