refactor(tests): remove all pytest.skip patterns for honest test results

- Move imports to module level in all *_core.py test files (16 files)
- Remove try/except/skip patterns from integration tests
- Remove @pytest.mark.skip decorators from gradient flow tests
- Convert environment validation skips to warnings for optional checks
- Change milestone tests from skip to fail when scripts missing

Tests now either pass or fail - no silent skipping that hides issues.
This ensures the test suite provides accurate feedback about what works.
This commit is contained in:
Vijay Janapa Reddi
2026-01-23 23:06:23 -05:00
parent acb5142fd7
commit 42face28fb
35 changed files with 1267 additions and 2125 deletions

View File

@@ -159,7 +159,6 @@ def test_regression_layernorm_gradient_flow():
print("✅ LayerNorm gradient flow regression test passed")
@pytest.mark.skip(reason="Requires weight.requires_grad=True by default; use optimizer pattern instead")
def test_regression_embedding_requires_grad():
"""
Regression test for Issue #6: Embedding didn't preserve requires_grad.