chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:59:42 +08:00
commit 59f8f60dad
348 changed files with 139133 additions and 0 deletions
@@ -0,0 +1,23 @@
import shutil
from pathlib import Path
import pytest
@pytest.fixture
def input_pdf():
return Path(__file__).resolve().parents[3] / "samples" / "pdf" / "1901.03003.pdf"
@pytest.fixture
def output_dir():
path = (
Path(__file__).resolve().parents[3]
/ "python"
/ "opendataloader-pdf"
/ "tests"
/ "temp"
)
path.mkdir(exist_ok=True)
yield path
shutil.rmtree(path, ignore_errors=True)