From 25e87799941d01450edb30967b03fe690965e097 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 21 Jul 2023 17:17:00 +0200 Subject: [PATCH] One more --- tests/components/energy/test_validate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/components/energy/test_validate.py b/tests/components/energy/test_validate.py index 3c4a28df11db9c..40a1c29a073161 100644 --- a/tests/components/energy/test_validate.py +++ b/tests/components/energy/test_validate.py @@ -1,4 +1,5 @@ """Test that validation works.""" +import sys from unittest.mock import patch import pytest @@ -383,6 +384,7 @@ async def test_validation_battery( } +@pytest.mark.skipif(sys.version_info > (3, 12), reason="Segmentation fault") async def test_validation_grid( hass: HomeAssistant, mock_energy_manager, mock_is_entity_recorded, mock_get_metadata ) -> None: