Skip to content

chore(tests/integration): adapt lit tests to newer lit and pypdf - #99

Merged
stanislaw merged 1 commit into
mainfrom
stanislav/pip_upgrades
Aug 30, 2026
Merged

chore(tests/integration): adapt lit tests to newer lit and pypdf#99
stanislaw merged 1 commit into
mainfrom
stanislav/pip_upgrades

Conversation

@stanislaw

Copy link
Copy Markdown
Collaborator
  • lit.cfg.py: use lit's internal shell (the previous ShTest("0") call accidentally kept execute_external=True since "0" is truthy, which is now rejected by lit as deprecated).
  • 20_fuzz_integration/test.itest: drop the inline PYTHONPATH=%project_root prefix, which lit's internal shell does not support; PYTHONPATH is already exported globally in lit.cfg.py.
  • 40_sdoc_only_child_.../test.py: normalize the spacing pypdf now inserts around "/" in extracted page-number text (e.g. "3/4" -> "3 / 4"), matching the existing portability-replace() pattern.
  • ruff.toml: ignore PLR0917 (too many arguments).

- lit.cfg.py: use lit's internal shell (the previous ShTest("0")
  call accidentally kept execute_external=True since "0" is
  truthy, which is now rejected by lit as deprecated).
- 20_fuzz_integration/test.itest: drop the inline
  PYTHONPATH=%project_root prefix, which lit's internal shell does
  not support; PYTHONPATH is already exported globally in
  lit.cfg.py.
- 40_sdoc_only_child_.../test.py: normalize the spacing pypdf now
  inserts around "/" in extracted page-number text (e.g. "3/4" ->
  "3 / 4"), matching the existing portability-replace() pattern.
- ruff.toml: ignore PLR0917 (too many arguments).
@stanislaw
stanislaw force-pushed the stanislav/pip_upgrades branch from 4325a7d to 8b922da Compare August 30, 2026 10:14
@stanislaw stanislaw changed the title fix(tests/integration): adapt lit tests to newer lit and pypdf chore(tests/integration): adapt lit tests to newer lit and pypdf Aug 30, 2026
@stanislaw
stanislaw merged commit 48caca7 into main Aug 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants