We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94d11b commit 17de64cCopy full SHA for 17de64c
tests/conftest.py
@@ -2,6 +2,8 @@
2
from __future__ import annotations
3
4
import os
5
+import sys
6
+import unittest.mock
7
from pathlib import Path
8
from typing import Any
9
@@ -27,6 +29,8 @@
27
29
# Ensure that LOGFIRE_TOKEN in the environment doesn't interfere
28
30
os.environ['LOGFIRE_TOKEN'] = ''
31
32
+# https://github.com/openai/openai-python/issues/2644
33
+sys.modules['openai.resources.evals'] = unittest.mock.MagicMock()
34
35
get_trace_provider().shutdown()
36
get_trace_provider().set_processors([])
0 commit comments