Skip to content

Commit e8ae3fc

Browse files
committed
remove a test
1 parent 77a01b4 commit e8ae3fc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/system/test_openai_encoder.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ def openai_encoder():
1111
return OpenAIEncoder()
1212

1313

14-
def test_init_without_openai_installed():
15-
try:
16-
encoder = OpenAIEncoder()
17-
assert encoder is not None
18-
except ImportError:
19-
pytest.fail("Failed to initialize OpenAIEncoder due to missing OpenAI library")
20-
21-
2214
def test_init_with_kwargs():
2315
encoder = OpenAIEncoder(
2416
api_key="test_api_key", organization="test_organization", timeout=30

0 commit comments

Comments
 (0)