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
test: fix all ruff lint errors in tests/test_observable/; remove from ruff exclude (#778)
* test: fix all ruff lint errors in tests/test_observable/; remove from ruff exclude
- Fix E741: rename ambiguous variable names (l -> left/items/timers)
- Fix E721: use isinstance() instead of type() comparison
- Fix E501: wrap/noqa long assertion lines (marble test data)
- Fix UP032/UP031/UP004/UP035 etc. via auto-fix (f-strings, useless inheritance,
deprecated imports, annotations)
- Remove tests/test_observable from ruff exclude list in pyproject.toml
- All 153 ruff errors resolved; ruff --check passes cleanly
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* style: fix ruff format issues in test_observable files
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* test: clean up review feedback for ruff fixes
- Drop unnecessary `# noqa: E501` from wrapped lines in test_starmap.py
that already fit within 88 chars after wrapping.
- Restore docstrings in test_retry.py and test_method_chaining.py to
more natural shapes, suppressing E501 on the whole docstring instead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* test: widen tolerance in test_currentthread_now to fix flake
The test reads the wall clock twice with construction in between and
asserts the gap is under 5ms. Under pytest-xdist on a shared CI VM,
GC pauses or scheduler jitter routinely push that gap past 5ms
(observed 14ms in CI). 50ms still proves the scheduler is not
clearly broken without flaking on routine load.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments