mirror of
https://github.com/github/codeql.git
synced 2026-06-08 14:42:30 +02:00
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>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
| .hidden/inner |
|
||||
| .hidden/inner/test.py |
|
||||
| .hidden/module.py |
|
||||
| folder |
|
||||
| folder/module.py |
|
||||
| package |
|
||||
| package/__init__.py |
|
||||
|
||||
Reference in New Issue
Block a user