You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test isolation issues for GitHub Actions compatibility
Key fixes implemented:
- Added preserve_modules pytest fixture to save/restore module state between tests
- Fixed test_widget_without_ipython to properly clean up module cache
- Resolved all test failures caused by module state corruption
Technical solutions:
1. Module state preservation fixture prevents tests from corrupting each other
2. Proper cleanup in test_widget_without_ipython restores original module
3. All GitHub Actions compatibility tests now use preserve_modules fixture
Results:
- All 293 tests now pass consistently (was failing 7-17 tests)
- Tests pass both individually and when run in full suite
- GitHub Actions simulation works correctly without errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments