Skip to content

Commit dbd43e9

Browse files
committed
Update typing to pull from circuitpython_typing
1 parent 9af1adc commit dbd43e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
if not sys.implementation.name == "circuitpython":
5050
from types import TracebackType
5151
from typing import Any, Dict, Optional, Type
52-
from adafruit_connection_manager import (
52+
from circuitpython_typing.socket import (
5353
SocketType,
5454
SocketpoolModuleType,
5555
SSLContextType,

tests/protocol_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_get_https_no_ssl():
2323
pool.socket.return_value = sock
2424

2525
requests_session = adafruit_requests.Session(pool)
26-
with pytest.raises(RuntimeError):
26+
with pytest.raises(AttributeError):
2727
requests_session.get("https://" + HOST + PATH)
2828

2929

0 commit comments

Comments
 (0)