Fix related test-assert #1145
verify.yml
on: push
Prepare
45s
Matrix: prepare-test-cache
Matrix: pytest
Process test complexity
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Annotations
5 errors
|
Run pytest using Python 3.12
Process completed with exit code 1.
|
|
Run pytest using Python 3.12:
tests/test_usb.py#L1127
TestStick.test_pulse_collection_consumption
assert (45, FakeDate...timezone.utc)) == (45, FakeDate...timezone.utc))
At index 1 diff: FakeDatetime(2025, 3, 24, 10, 0, 3, tzinfo=datetime.timezone.utc) != FakeDatetime(2025, 3, 24, 10, 0, 5, tzinfo=datetime.timezone.utc)
Full diff:
(
45,
- FakeDatetime(2025, 3, 24, 10, 0, 5, tzinfo=datetime.timezone.utc),
? ^
+ FakeDatetime(2025, 3, 24, 10, 0, 3, tzinfo=datetime.timezone.utc),
? ^
)
|
|
Run pytest using Python 3.11
The operation was canceled.
|
|
Run pytest using Python 3.11:
tests/test_usb.py#L1127
TestStick.test_pulse_collection_consumption
assert (45, FakeDate...timezone.utc)) == (45, FakeDate...timezone.utc))
At index 1 diff: FakeDatetime(2025, 3, 24, 10, 0, 3, tzinfo=datetime.timezone.utc) != FakeDatetime(2025, 3, 24, 10, 0, 5, tzinfo=datetime.timezone.utc)
Full diff:
(
45,
- FakeDatetime(2025, 3, 24, 10, 0, 5, tzinfo=datetime.timezone.utc),
? ^
+ FakeDatetime(2025, 3, 24, 10, 0, 3, tzinfo=datetime.timezone.utc),
? ^
)
|
|
Run pytest using Python 3.11
The strategy configuration was canceled because "pytest._3_12" failed
|