Skip to content

Commit 084cb0f

Browse files
anth-volkclaude
andcommitted
Fix test collection errors: name collision and import path
- Add __init__.py files to all test directories so pytest uses package-based module naming (avoids flat name collisions) - Rename tests/unit/calibration/test_puf_impute.py to test_calibration_puf_impute.py to avoid collision with tests/unit/test_puf_impute.py - Fix test_version_manifest.py import: policyengine_us_data.tests.conftest no longer exists, use tests.conftest instead Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1aab7b3 commit 084cb0f

7 files changed

Lines changed: 1 addition & 1 deletion

File tree

tests/__init__.py

Whitespace-only changes.

tests/integration/__init__.py

Whitespace-only changes.

tests/unit/__init__.py

Whitespace-only changes.

tests/unit/calibration/__init__.py

Whitespace-only changes.
File renamed without changes.

tests/unit/datasets/__init__.py

Whitespace-only changes.

tests/unit/test_version_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
get_data_manifest,
2121
get_data_version,
2222
)
23-
from policyengine_us_data.tests.conftest import (
23+
from tests.conftest import (
2424
make_mock_blob,
2525
setup_bucket_with_registry,
2626
)

0 commit comments

Comments
 (0)