Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.12 #2865
verify.yml
on: push
Cache identify
6s
Matrix: pytest
Run mypy
0s
Process test complexity
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Annotations
2 errors
|
Run pytest using Python 3.13
Process completed with exit code 1.
|
|
Run pytest using Python 3.13:
tests/test_usb.py#L956
TestStick.test_energy_circle
AssertionError: assert EnergyStatist...on_reset=None) == EnergyStatist...on_reset=None)
Omitting 8 identical items, use -vv to show
Differing attributes:
['day_consumption', 'day_consumption_reset']
Drill down into differing attribute day_consumption:
day_consumption: 0.6654729637405271 != None
Drill down into differing attribute day_consumption_reset:
day_consumption_reset: datetime.datetime(2025, 9, 7, 0, 0, tzinfo=datetime.timezone(datetime.timedelta(0), 'UTC')) != None
|