1 parent e8f445b commit da40aecCopy full SHA for da40aec
1 file changed
tests/test_planmode.py
@@ -77,7 +77,7 @@ def test_plan_reminder(self):
77
class TestPlanTempDir(unittest.TestCase):
78
def test_tmpdir_env_wins(self):
79
with mock.patch.dict(os.environ, {"TMPDIR": "/custom/tmp"}, clear=False):
80
- self.assertEqual(_plan_temp_dir(), "/custom/tmp")
+ self.assertEqual(_plan_temp_dir(), os.path.abspath("/custom/tmp"))
81
82
def test_falls_back_to_plain_tmp(self):
83
"""With no TMPDIR/TMP/TEMP and an empty gettempdir(), the
0 commit comments