Skip to content

Commit 9d005ac

Browse files
Avoid loading compat module on package import (#2749)
1 parent d82300f commit 9d005ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/snowflake/connector/test_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
import logging
55
import os
6+
import platform
67
from typing import cast
78

8-
from .compat import IS_LINUX
9-
9+
IS_LINUX = platform.system() == "Linux"
1010
RUNNING_ON_JENKINS = os.getenv("JENKINS_HOME") is not None
1111
REGRESSION_TEST_LOG_DIR = os.getenv("CLIENT_LOG_DIR_PATH_DOCKER")
1212
ENABLE_TELEMETRY_LOG = RUNNING_ON_JENKINS and REGRESSION_TEST_LOG_DIR and IS_LINUX

0 commit comments

Comments
 (0)