Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

feat(tests): remove top import.

Amir Mehr981119889ca8
diff --git a/tests_integration/test_intro.py b/tests_integration/test_intro.py
index 43729804d..b00e896f3 100644
--- a/tests_integration/test_intro.py
+++ b/tests_integration/test_intro.py
@@ -4,22 +4,23 @@ from typing import Any
import pytest
-print("first")
-print(os.environ.get("DSP_NOTEBOOK_CACHEDIR"))
-
-library_dir = Path(__file__).resolve().parent
-base_dir = library_dir.parent
-cache_dir = str(base_dir / "cache")
-os.environ["DSP_NOTEBOOK_CACHEDIR"] = cache_dir
-
-if cache_dir and not Path(cache_dir).exists():
- Path(cache_dir).mkdir(parents=True)
-
-print("second")
+import dspy
-print(os.environ.get("DSP_NOTEBOOK_CACHEDIR"))
+# print("first")
+# print(os.environ.get("DSP_NOTEBOOK_CACHEDIR"))
+#
+# library_dir = Path(__file__).resolve().parent
+# base_dir = library_dir.parent
+# cache_dir = str(base_dir / "cache")
+# os.environ["DSP_NOTEBOOK_CACHEDIR"] = cache_dir
+#
+# if cache_dir and not Path(cache_dir).exists():
+# Path(cache_dir).mkdir(parents=True)
+#
+# print("second")
+#
+# print(os.environ.get("DSP_NOTEBOOK_CACHEDIR"))
-import dspy
class BaseIntegrationTestWithCache: