We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d18ae3 commit da14a29Copy full SHA for da14a29
1 file changed
tests/test_compile_llms.py
@@ -10,12 +10,13 @@
10
11
class TestCompileLLMsTxt(unittest.TestCase):
12
def setUp(self):
13
+ self.original_cwd = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
14
+
15
# Create a temporary directory for test files
16
self.test_dir = tempfile.mkdtemp()
17
self.docs_dir = Path(self.test_dir)
18
- # Save current working directory
- self.original_cwd = os.getcwd()
19
+ # Change to the temporary directory
20
os.chdir(self.docs_dir)
21
22
def tearDown(self):
0 commit comments