1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Remove warnings from compensation (#63691)

This commit is contained in:
Petro31
2022-01-13 12:33:02 -05:00
committed by GitHub
parent 2df8ab865f
commit 5f9a351889
2 changed files with 8 additions and 26 deletions

View File

@@ -151,13 +151,6 @@ async def test_numpy_errors(hass, caplog):
"compensation": {
"test": {
"source": "sensor.uncompensated",
"data_points": [
[1.0, 1.0],
[1.0, 1.0],
],
},
"test2": {
"source": "sensor.uncompensated2",
"data_points": [
[0.0, 1.0],
[0.0, 1.0],
@@ -170,8 +163,6 @@ async def test_numpy_errors(hass, caplog):
await hass.async_start()
await hass.async_block_till_done()
assert "polyfit may be poorly conditioned" in caplog.text
assert "invalid value encountered in true_divide" in caplog.text