File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1616from botocore .awsrequest import AWSRequest
1717from botocore .credentials import Credentials
1818
19- from snowflake .connector .vendored .requests .exceptions import ConnectTimeout , HTTPError
20- from snowflake .connector .vendored .requests .models import Response
19+ try :
20+ from snowflake .connector .vendored .requests .exceptions import ConnectTimeout , HTTPError
21+ from snowflake .connector .vendored .requests .models import Response
22+ except ModuleNotFoundError :
23+ # This file gets imported from the old driver tests, which run against a version of the connector
24+ # that doesn't have these modules. Our new tests don't run in that environment, so it's OK to just
25+ # pass on this error.
26+ pass
2127
2228logger = logging .getLogger (__name__ )
2329
You can’t perform that action at this time.
0 commit comments