mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
refactor: move all testing to top-level of repo
Closes https://github.com/BerriAI/litellm/issues/486
This commit is contained in:
parent
5403c5828c
commit
3560f0ef2c
213 changed files with 74 additions and 217 deletions
|
@ -1,10 +0,0 @@
|
|||
import warnings
|
||||
import pytest
|
||||
|
||||
def test_namespace_conflict_warning():
|
||||
with warnings.catch_warnings(record=True) as recorded_warnings:
|
||||
warnings.simplefilter("always") # Capture all warnings
|
||||
import litellm
|
||||
|
||||
# Check that no warning with the specific message was raised
|
||||
assert not any("conflict with protected namespace" in str(w.message) for w in recorded_warnings), "Test failed: 'conflict with protected namespace' warning was encountered!"
|
Loading…
Add table
Add a link
Reference in a new issue