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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user