From abaf00d8473f02dcfd9a8698a326568260551e63 Mon Sep 17 00:00:00 2001 From: MichaelFu512 Date: Tue, 21 May 2024 13:32:29 -0700 Subject: [PATCH] Revert "test 3" This reverts commit de352579ed4e4a41eea5466f20a9b60fdb1cf121. --- evalml/tests/utils_tests/test_gen_utils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/evalml/tests/utils_tests/test_gen_utils.py b/evalml/tests/utils_tests/test_gen_utils.py index 51184e729d..922b413c7b 100644 --- a/evalml/tests/utils_tests/test_gen_utils.py +++ b/evalml/tests/utils_tests/test_gen_utils.py @@ -37,14 +37,14 @@ def in_container_arm64(): The env var is set in the Dockerfile.arm for the purposes of local testing in a container on a mac M1, otherwise it's a noop. """ - # if os.getenv("DOCKER_ARM", None): - import plotly.io as pio + if os.getenv("DOCKER_ARM", None): + import plotly.io as pio - pio.kaleido.scope.chromium_args += ( - "--single-process", - "--headless", - "--disable-gpu", - ) + pio.kaleido.scope.chromium_args += ( + "--single-process", + "--headless", + "--disable-gpu", + ) @patch("importlib.import_module")