Skip to content

Commit 40cc6da

Browse files
committed
Undo test_chat changes
1 parent 42ee7a2 commit 40cc6da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/pytest/test_chat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import sys
34
from datetime import datetime
45
from typing import Union, cast, get_args, get_origin
56

@@ -385,8 +386,6 @@ def test_as_google_message():
385386
GenerativeModel,
386387
)
387388

388-
from shiny.ui._chat_provider_types import as_google_message
389-
390389
generate_content = GenerativeModel.generate_content # type: ignore
391390

392391
assert generate_content.__annotations__["contents"] == "content_types.ContentsType"

0 commit comments

Comments
 (0)