mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(test) installing litellm
This commit is contained in:
parent
bef38f886b
commit
7b63da2d75
2 changed files with 22 additions and 67 deletions
16
litellm/tests/test_python_38.py
Normal file
16
litellm/tests/test_python_38.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
import sys, os, time
|
||||
import traceback, asyncio
|
||||
import pytest
|
||||
|
||||
sys.path.insert(
|
||||
0, os.path.abspath("../..")
|
||||
) # Adds the parent directory to the system path
|
||||
|
||||
|
||||
def test_using_litellm():
|
||||
try:
|
||||
import litellm
|
||||
except Exception as e:
|
||||
pytest.fail(
|
||||
f"Error occurred: {e}. Installing litellm on python3.8 failed please retry"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue